X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=sdcc_vc_in.h;h=55fee18670bee74b3e0baccd477596c6846c1e39;hb=3bd25d75bcad68055bb616dcc29dde8a2965965e;hp=19e6e0f46ce5063e5e6b9df1fdbf4a0fdeddee1d;hpb=a1e56892f56d7767259b05a29f1c1805fbdf8f54;p=fw%2Fsdcc diff --git a/sdcc_vc_in.h b/sdcc_vc_in.h index 19e6e0f4..55fee186 100644 --- a/sdcc_vc_in.h +++ b/sdcc_vc_in.h @@ -11,6 +11,8 @@ #define __FUNCTION__ __FILE__ #endif +#define __func__ __FUNCTION__ + #define DIR_SEPARATOR_STRING "\\" #define DIR_SEPARATOR_CHAR '\\' @@ -25,10 +27,7 @@ #define BIN2DATA_DIR "\\.." #define PREFIX2BIN_DIR "\\bin" #define PREFIX2DATA_DIR "" - -// Obsolete: -#define SDCC_INCLUDE_DIR "\\sdcc\\include" -#define SDCC_LIB_DIR "\\sdcc\\lib" +#define BINDIR PREFIX "\\bin" /* environment variables */ #define SDCC_DIR_NAME "SDCC_HOME" @@ -41,9 +40,10 @@ #define STD_LONG_LIB "liblong" #define STD_FP_LIB "libfloat" #define STD_DS390_LIB "libds390" -// #undef STD_XA51_LIB +#define STD_DS400_LIB "libds400" +/* #undef STD_XA51_LIB */ -// #undef HAVE_SYS_SOCKET_H +/* #undef HAVE_SYS_SOCKET_H */ #undef HAVE_STRERROR #define HAVE_VSNPRINTF @@ -64,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