Check SCM_USE_PTHREAD_THREADS using #if not #ifdef.
authorMark H Weaver <mhw@netris.org>
Fri, 14 Mar 2014 03:21:48 +0000 (23:21 -0400)
committerMark H Weaver <mhw@netris.org>
Fri, 14 Mar 2014 03:27:25 +0000 (23:27 -0400)
* libguile/bdw-gc.h: Check SCM_USE_PTHREAD_THREADS using #if not #ifdef.

libguile/bdw-gc.h

index 7aa757f..d6f0077 100644 (file)
@@ -23,7 +23,7 @@
 
 #include "libguile/scmconfig.h"
 
-#ifdef SCM_USE_PTHREAD_THREADS
+#if SCM_USE_PTHREAD_THREADS
 
 /* When pthreads are used, let `libgc' know about it and redirect allocation
    calls such as `GC_MALLOC ()' to (contention-free, faster) thread-local