fix genPlus bogus code generation demonstrated by Karl's eth.c
[fw/sdcc] / sdcc_vc.h
index 1257a016c0bd1df593856c15ee05b10364f7e3a7..afd0f2947caf50134f2cfd7bbad5ac24640aded2 100644 (file)
--- a/sdcc_vc.h
+++ b/sdcc_vc.h
@@ -9,6 +9,10 @@
 #define SDCC_VERSION_P 1
 #define SDCC_VERSION_STR "2.2.2"
 
+/* MSVC 6 does not have __FUNCTION__ preprocessor macro defined */
+
+#define __FUNCTION__ __FILE__
+
 #undef PREFIX
 #undef DATADIR
 #undef SRCDIR
@@ -32,8 +36,8 @@
 #undef OPT_DISABLE_GBZ80
 #undef OPT_DISABLE_MCS51
 #undef OPT_DISABLE_AVR
-
-#define OPT_DISABLE_GC                 1
+#define OPT_DISABLE_I186      1
+#define OPT_DISABLE_TLCS900H  1
 
 #endif