Merge pull request #639 from Donaim/638

Avoid undefined C macro behavior
This commit is contained in:
Alex Shinn 2020-05-14 08:11:36 +08:00 committed by GitHub
commit 4be920986f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -451,7 +451,11 @@
#endif
#ifndef SEXP_USE_TIME_GC
#define SEXP_USE_TIME_GC (SEXP_USE_DEBUG_GC > 0 || defined(__linux) || SEXP_BSD)
#if SEXP_USE_DEBUG_GC > 0 || defined(__linux) || SEXP_BSD
#define SEXP_USE_TIME_GC 1
#else
#define SEXP_USE_TIME_GC 0
#endif
#endif
#ifndef SEXP_USE_SAFE_GC_MARK