1 /* Let's tell EMACS what language this is: -*- C -*- */
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 PRODUCTION 1 */ /* disable extra function calls */
27 /* #define NDEBUG 1 */ /* disable assert() sanity checks */
32 /* Make sure to use the proper keywords. */
33 #if __GNUC__ > 1 && !defined (inline)
34 #define inline __inline__
37 /* GNU C allows the programmer to declare that certain functions take
38 printf-like arguments, never return, etc. Conditionalize these
39 declarations on whether gcc is in use. */
41 #define ATTRIBUTE(X) __attribute__ (X)
46 #define UNUSED ATTRIBUTE ((unused))
47 #define NO_RETURN ATTRIBUTE ((noreturn))
48 #define PRINTF_FORMAT(FMT, FIRST) ATTRIBUTE ((format (printf, FMT, FIRST)))
49 #define SCANF_FORMAT(FMT, FIRST) ATTRIBUTE ((format (scanf, FMT, FIRST)))
53 #if SIZEOF_DOUBLE == 8
54 #define second_lowest_flt64 second_lowest_value
56 #error Must define second_lowest_flt64 for your architecture.
59 /* Figure out which integer type on this system is a signed 32-bit
68 #error Which one of your basic types is 32-bit signed integer?
73 #define FLT64_MAX FLT_MAX
74 #elif SIZEOF_DOUBLE==8
76 #define FLT64_MAX DBL_MAX
77 #elif SIZEOF_LONG_DOUBLE==8
78 #define flt64 long double
79 #define FLT64_MAX LDBL_MAX
81 #error Which one of your basic types is 64-bit floating point?
83 #define FLT64_MAX DBL_MAX
88 /* Internationalization. */
92 /* If we don't do this then gettext() still monkeys with the string,
93 which causes gcc not to do its checking on printf() format
96 #define gettext(STRING) STRING
99 #define _(STRING) gettext(STRING)
100 #define N_(STRING) STRING
104 /* Directory separator character for this OS, if applicable. */
106 #define DIR_SEPARATOR '/'
108 #define DIR_SEPARATOR '\\'
111 /* Path delimiter character. */
113 #define PATH_DELIMITER ':'
115 #define PATH_DELIMITER ';'
120 /* Approximate amount of memory, in bytes, to allocate before paging
122 #define MAX_WORKSPACE (4*1024*1024) /* 4 MBytes */
124 /* (libhistory) The location for the history file that records
125 commands entered interactively. Tilde expansion is performed. */
126 #define HISTORY_FILE "~/.pspp_history"
128 /* (libhistory) Maximum number of commands to record in history
130 #define MAX_HISTORY 500
132 /* Output drivers. */
134 /* Define to exclude the HTML output driver. */
135 /* #define NO_HTML 1 */
137 /* Define to exclude the PostScript and Encapsulated PostScript
139 /* #define NO_POSTSCRIPT 1 */
141 /* Non ansi compilers may set this */
143 #define P_tmpdir "/tmp"