remove cpp directory
[fw/sdcc] / src / SDCCglobl.h
index 76fbbf7e4c94a0afc7802ce8abc323a24a84be2b..3df24562d11f28a698b5d10da1d19ff45401c298 100644 (file)
 #define SPACE ' '
 #define ZERO  0
 
+#include <limits.h>            /* PATH_MAX                  */
+#ifndef PATH_MAX               /* POSIX, but not required   */
+#define PATH_MAX 255           /* define a reasonable value */
+#endif
+
 #define  MAX_FNAME_LEN  128
 #define  MAX_REG_PARMS  1
 typedef int bool;
@@ -219,6 +224,8 @@ struct options
     int shortis8bits;           /* treat short like int or char */
     int lessPedantic;           /* disable some warnings */
     int profile;                /* Turn on extra profiling information */
+    int ommitFramePtr;         /* Turn off the frame pointer. */
+
     char *calleeSaves[128];    /* list of functions using callee save */
     char *excludeRegs[32];     /* registers excluded from saving */
 
@@ -314,6 +321,6 @@ extern struct _dumpFiles dumpFiles[];
 /* Buffer which can be used to hold a file name; assume it will
  * be trashed by any function call within SDCC.
  */
-extern char scratchFileName[FILENAME_MAX];
+extern char scratchFileName[PATH_MAX];
 
 #endif