src/SSDCCmain.c (setIncludePath): added port->target to SDCC_INCLUDE_NAME
[fw/sdcc] / src / SDCCglobl.h
index 850c06331d1c5cb92ca51f1a6c124c23eb24bd0e..8e4e7dc16acef2380ac7e6695b873425f512d807 100644 (file)
@@ -38,8 +38,9 @@
 #define ZERO  0
 
 #include <limits.h>             /* PATH_MAX                  */
-#ifndef PATH_MAX                /* POSIX, but not required   */
-#  define PATH_MAX 255          /* define a reasonable value */
+#if !defined(PATH_MAX) || (PATH_MAX < 2048)
+#  undef  PATH_MAX
+#  define PATH_MAX 2048         /* define a reasonable value */
 #endif
 
 #define  MAX_REG_PARMS  1
@@ -250,6 +251,8 @@ struct options
     int vc_err_style;           /* errors and warnings are compatible with Micro$oft visual studio */
     int use_stdout;             /* send errors to stdout instead of stderr */
     int no_std_crt0;            /*For the z80/gbz80 do not link default crt0.o*/
+    int std_c99;               /* enable C99 keywords/constructs */
+    int std_sdcc;              /* enable SDCC extensions to C */
     /* sets */
     set *calleeSavesSet;        /* list of functions using callee save */
     set *excludeRegsSet;        /* registers excluded from saving */