X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=pref.h.orig;h=ed5c53fe44c4e1432a9642d039885aa5b37b9de9;hb=59acd528255dd713da4737629c69f5a2d6b528b3;hp=434d9aacbf97dc4072838e86a458d133f89c1c34;hpb=7b98b3a4f58f6dc5a8e9cbc188b627966d5e652d;p=pspp diff --git a/pref.h.orig b/pref.h.orig index 434d9aacbf..ed5c53fe44 100644 --- a/pref.h.orig +++ b/pref.h.orig @@ -16,6 +16,10 @@ #define GLOBAL_DEBUGGING 1 #endif +#if !HAVE_LIBPLOT +#define NO_CHARTS 1 +#endif + /* Define these if DEBUGGING is off and you want to make certain additional optimizations. */ #if !DEBUGGING @@ -100,7 +104,7 @@ /* Directory separator character for this OS, if applicable. */ #ifndef __MSDOS__ #define DIR_SEPARATOR '/' -#elif +#else #define DIR_SEPARATOR '\\' #endif @@ -133,3 +137,8 @@ /* Define to exclude the PostScript and Encapsulated PostScript driver. */ /* #define NO_POSTSCRIPT 1 */ + +/* Non ansi compilers may set this */ +#ifndef P_tmpdir +#define P_tmpdir "/tmp" +#endif