#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;
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 */
/* 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