genUminusfloat avoiding 3 pairs of
[fw/sdcc] / sdcc_vc_in.h
index bcd19cd6d1cb88468010c4c37d4ec2757cff4098..467d979bcd9ef239173cccb8d039ec560ee83288 100644 (file)
@@ -7,10 +7,8 @@
 #undef SDCC_VERSION_P
 #undef SDCC_VERSION_STR
 
-/* MSVC 6 does not have __FUNCTION__ preprocessor macro defined */
-
-#if defined(_MSC_VER) && (_MSC_VER < 1300)
-#define __FUNCTION__ __FILE__
+#ifndef __FUNCTION__
+#define __FUNCTION__  __FILE__
 #endif
 
 #undef PREFIX
@@ -34,6 +32,9 @@
 // #undef HAVE_ENDIAN_H
 
 #undef HAVE_STRERROR
+#undef HAVE_VSNPRINTF
+#undef HAVE_SNPRINTF
+#define HAVE_VSPRINTF
 
 #undef OPT_DISABLE_MCS51
 #undef OPT_DISABLE_GBZ80