added - genarate auto-host.h using auto-host_vc_in.h as template
[fw/sdcc] / sdcc_vc.h
index 1257a016c0bd1df593856c15ee05b10364f7e3a7..1b77070751393e71d307f51eeac441ce00d003e5 100644 (file)
--- a/sdcc_vc.h
+++ b/sdcc_vc.h
@@ -9,7 +9,15 @@
 #define SDCC_VERSION_P 1
 #define SDCC_VERSION_STR "2.2.2"
 
+/* MSVC 6 does not have __FUNCTION__ preprocessor macro defined */
+
+#if defined(_MSC_VER) && (_MSC_VER < 1300)
+#define __FUNCTION__ __FILE__
+#endif
+
 #undef PREFIX
+#define PREFIX                "\\sdcc"
+
 #undef DATADIR
 #undef SRCDIR
 
@@ -33,8 +41,6 @@
 #undef OPT_DISABLE_MCS51
 #undef OPT_DISABLE_AVR
 
-#define OPT_DISABLE_GC                 1
-
 #endif
 
 /* End of config.h */