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)
42 /* Only necessary because of a wart in gnulib's xalloc.h. */
43 #define __attribute__(X) __attribute__ (X)
48 #define UNUSED ATTRIBUTE ((unused))
49 #define NO_RETURN ATTRIBUTE ((noreturn))
50 #define PRINTF_FORMAT(FMT, FIRST) ATTRIBUTE ((format (printf, FMT, FIRST)))
51 #define SCANF_FORMAT(FMT, FIRST) ATTRIBUTE ((format (scanf, FMT, FIRST)))
53 /* This attribute was added late in the GCC 2.x cycle. */
55 #define MALLOC_LIKE ATTRIBUTE ((malloc))
62 /* Directory separator and path delimiter for this OS. */
64 #define DIR_SEPARATOR '/'
65 #define PATH_DELIMITER ':'
67 #define DIR_SEPARATOR '\\'
68 #define PATH_DELIMITER ';'
73 /* Approximate amount of memory, in bytes, to allocate before paging
75 #define MAX_WORKSPACE (4*1024*1024) /* 4 MBytes */
77 /* (libhistory) The location for the history file that records
78 commands entered interactively. Tilde expansion is performed. */
79 #define HISTORY_FILE "~/.pspp_history"
81 /* (libhistory) Maximum number of commands to record in history
83 #define MAX_HISTORY 500
85 /* Non ansi compilers may set this */
87 #define P_tmpdir "/tmp"
90 #define SHORT_NAME_LEN 8
91 #define LONG_NAME_LEN 64