* support/cpp2/cppmain.c, support/cpp2/mbchar.[ch]: removed
[fw/sdcc] / support / cpp2 / sdcpp.h
index 38c762d1d7c59df3d0c1c0ab932b099653ea92ae..ef10f2881e7e60bac11a90953878ac708361cdaf 100644 (file)
@@ -3,11 +3,11 @@
 
 #ifdef _WIN32
 #include <string.h>
-#define strcasecmp  _stricmp
+#define strcasecmp  stricmp
 #endif
 #define BYTES_BIG_ENDIAN  0
 
-#if defined _MSC_VER || defined __MINGW32__
+#if defined _MSC_VER || defined __MINGW32__ || defined __BORLANDC__
 /*
  * The following define causes the following warning:
  * warning: `I' flag used with `%x' printf format
@@ -220,7 +220,7 @@ extern void sdcpp_common_finish (void);
 
 /* Nonzero means pass #include lines through to the output.  */
 
-char flag_dump_includes;
+extern char flag_dump_includes;
 
 /* In c-ppoutput.c  */
 extern void init_pp_output (FILE *);