Use 'ao-dbg' instead of 's51' to communicate with TeleMetrum
[fw/sdcc] / sdcc_vc_in.h
index 40dbc0818deb7d8955f3491b7e9a9655d6c048e5..55fee18670bee74b3e0baccd477596c6846c1e39 100644 (file)
@@ -11,6 +11,8 @@
 #define __FUNCTION__  __FILE__
 #endif
 
+#define __func__      __FUNCTION__
+
 #define DIR_SEPARATOR_STRING "\\"
 #define DIR_SEPARATOR_CHAR   '\\'
 
@@ -38,7 +40,7 @@
 #define STD_LONG_LIB          "liblong"
 #define STD_FP_LIB            "libfloat"
 #define STD_DS390_LIB         "libds390"
-#define STD_DS400_LIB        "libds400"
+#define STD_DS400_LIB         "libds400"
 /* #undef STD_XA51_LIB */
 
 /* #undef HAVE_SYS_SOCKET_H */
@@ -62,6 +64,9 @@
 
 /* #undef WORDS_BIGENDIAN */
 
+/* for flex 2.5.35 and greater */
+#define YY_NO_UNISTD_H  1
+
 #undef OPT_DISABLE_MCS51
 #undef OPT_DISABLE_GBZ80
 #undef OPT_DISABLE_Z80