don't expand into defined (issue #423)

This commit is contained in:
Alex Shinn 2017-07-09 08:07:19 +09:00
parent 8589333868
commit 700380ebe4

View file

@ -355,7 +355,11 @@
/* don't include clibs.c - include separately or link */ /* don't include clibs.c - include separately or link */
#ifndef SEXP_USE_STATIC_LIBS_NO_INCLUDE #ifndef SEXP_USE_STATIC_LIBS_NO_INCLUDE
#define SEXP_USE_STATIC_LIBS_NO_INCLUDE defined(PLAN9) #ifdef PLAN9
#define SEXP_USE_STATIC_LIBS_NO_INCLUDE 0
#else
#define SEXP_USE_STATIC_LIBS_NO_INCLUDE 1
#endif
#endif #endif
#ifndef SEXP_USE_FULL_SOURCE_INFO #ifndef SEXP_USE_FULL_SOURCE_INFO
@ -634,7 +638,11 @@
#endif #endif
#ifndef SEXP_USE_GC_FILE_DESCRIPTORS #ifndef SEXP_USE_GC_FILE_DESCRIPTORS
#define SEXP_USE_GC_FILE_DESCRIPTORS (SEXP_USE_AUTOCLOSE_PORTS &&!SEXP_USE_BOEHM && !defined(PLAN9)) #ifdef PLAN9
#define SEXP_USE_GC_FILE_DESCRIPTORS 0
#else
#define SEXP_USE_GC_FILE_DESCRIPTORS (SEXP_USE_AUTOCLOSE_PORTS &&!SEXP_USE_BOEHM)
#endif
#endif #endif
#ifndef SEXP_USE_BIDIRECTIONAL_PORTS #ifndef SEXP_USE_BIDIRECTIONAL_PORTS