* threads.h: fix various preprocessor usages of new public
authorRob Browning <rlb@defaultvalue.org>
Thu, 27 Mar 2003 20:10:18 +0000 (20:10 +0000)
committerRob Browning <rlb@defaultvalue.org>
Thu, 27 Mar 2003 20:10:18 +0000 (20:10 +0000)
symbols to expect 0 or 1 values rather than 1 or undefined.
i.e. change #ifdef to #if, etc.

libguile/threads.h

index 01035df..819a90b 100644 (file)
@@ -248,10 +248,10 @@ SCM_API SCM scm_thread_exited_p (SCM thread);
 
 SCM_API scm_root_state *scm_i_thread_root (SCM thread);
 
-#ifdef SCM_USE_PTHREAD_THREADS
-#include "libguile/pthread-threads.h"
+#if SCM_USE_PTHREAD_THREADS
+# include "libguile/pthread-threads.h"
 #else
-#include "libguile/null-threads.h"
+# include "libguile/null-threads.h"
 #endif
 
 #define SCM_CURRENT_THREAD \