3 /* Used by separable libraries to enable PSPP-specific features. */
12 /* Define to get lots of info printed by procedures. */
13 /*#define DEBUGGING 1*/
16 #define GLOBAL_DEBUGGING 1
23 /* Define these if DEBUGGING is off and you want to make certain
24 additional optimizations. */
26 /* #define NDEBUG 1 */ /* disable assert() sanity checks */
31 /* Use proper keywords. */
32 #if __GNUC__ > 1 && !defined (inline)
33 #define inline __inline__
36 /* GNU C allows the programmer to declare that certain functions take
37 printf-like arguments, never return, etc. Conditionalize these
38 declarations on whether gcc is in use. */
40 #define ATTRIBUTE(X) __attribute__ (X)
45 #define UNUSED ATTRIBUTE ((unused))
46 #define NO_RETURN ATTRIBUTE ((noreturn))
47 #define PRINTF_FORMAT(FMT, FIRST) ATTRIBUTE ((format (printf, FMT, FIRST)))
48 #define SCANF_FORMAT(FMT, FIRST) ATTRIBUTE ((format (scanf, FMT, FIRST)))
50 /* This attribute was added late in the GCC 2.x cycle. */
52 #define MALLOC_LIKE ATTRIBUTE ((malloc))
57 /* Internationalization. */
61 /* If we don't do this then gettext() still monkeys with the
62 string, keeping gcc from checking printf() format types. */
64 #define gettext(STRING) STRING
67 #define _(STRING) gettext(STRING)
68 #define N_(STRING) STRING
72 /* Directory separator and path delimiter for this OS. */
74 #define DIR_SEPARATOR '/'
75 #define PATH_DELIMITER ':'
77 #define DIR_SEPARATOR '\\'
78 #define PATH_DELIMITER ';'
83 /* Approximate amount of memory, in bytes, to allocate before paging
85 #define MAX_WORKSPACE (4*1024*1024) /* 4 MBytes */
87 /* (libhistory) The location for the history file that records
88 commands entered interactively. Tilde expansion is performed. */
89 #define HISTORY_FILE "~/.pspp_history"
91 /* (libhistory) Maximum number of commands to record in history
93 #define MAX_HISTORY 500
95 /* Non ansi compilers may set this */
97 #define P_tmpdir "/tmp"
100 #define SHORT_NAME_LEN 8
101 #define LONG_NAME_LEN 64