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
19 /* Define these if DEBUGGING is off and you want to make certain
20 additional optimizations. */
22 /* #define PRODUCTION 1 */ /* disable extra function calls */
23 /* #define NDEBUG 1 */ /* disable assert() sanity checks */
28 /* Make sure to use the proper keywords. */
29 #if __GNUC__ > 1 && !defined (inline)
30 #define inline __inline__
33 /* GNU C allows the programmer to declare that certain functions take
34 printf-like arguments, never return, etc. Conditionalize these
35 declarations on whether gcc is in use. */
37 #define ATTRIBUTE(X) __attribute__ (X)
42 #define UNUSED ATTRIBUTE ((unused))
43 #define NO_RETURN ATTRIBUTE ((noreturn))
44 #define PRINTF_FORMAT(FMT, FIRST) ATTRIBUTE ((format (printf, FMT, FIRST)))
45 #define SCANF_FORMAT(FMT, FIRST) ATTRIBUTE ((format (scanf, FMT, FIRST)))
49 #if SIZEOF_DOUBLE == 8
50 #define second_lowest_flt64 second_lowest_value
52 #error Must define second_lowest_flt64 for your architecture.
55 /* Figure out which integer type on this system is a signed 32-bit
64 #error Which one of your basic types is 32-bit signed integer?
69 #define FLT64_MAX FLT_MAX
70 #elif SIZEOF_DOUBLE==8
72 #define FLT64_MAX DBL_MAX
73 #elif SIZEOF_LONG_DOUBLE==8
74 #define flt64 long double
75 #define FLT64_MAX LDBL_MAX
77 #error Which one of your basic types is 64-bit floating point?
79 #define FLT64_MAX DBL_MAX
84 /* Internationalization. */
88 /* If we don't do this then gettext() still monkeys with the string,
89 which causes gcc not to do its checking on printf() format
92 #define gettext(STRING) STRING
95 #define _(STRING) gettext(STRING)
96 #define N_(STRING) STRING
100 /* Directory separator character for this OS, if applicable. */
102 #define DIR_SEPARATOR '/'
104 #define DIR_SEPARATOR '\\'
107 /* Path delimiter character. */
109 #define PATH_DELIMITER ':'
111 #define PATH_DELIMITER ';'
116 /* Approximate amount of memory, in bytes, to allocate before paging
118 #define MAX_WORKSPACE (4*1024*1024) /* 4 MBytes */
120 /* (libhistory) The location for the history file that records
121 commands entered interactively. Tilde expansion is performed. */
122 #define HISTORY_FILE "~/.pspp_history"
124 /* (libhistory) Maximum number of commands to record in history
126 #define MAX_HISTORY 500
128 /* Output drivers. */
130 /* Define to exclude the HTML output driver. */
131 /* #define NO_HTML 1 */
133 /* Define to exclude the PostScript and Encapsulated PostScript
135 /* #define NO_POSTSCRIPT 1 */
137 /* Non ansi compilers may set this */
139 #define P_tmpdir "/tmp"