mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-05-29 08:20:20 +02:00
* threads.h: fix various preprocessor usages of new public
symbols to expect 0 or 1 values rather than 1 or undefined. i.e. change #ifdef to #if, etc.
This commit is contained in:
parent
d028af45bf
commit
ed1403c6b5
1 changed files with 3 additions and 3 deletions
|
@ -248,10 +248,10 @@ SCM_API SCM scm_thread_exited_p (SCM thread);
|
||||||
|
|
||||||
SCM_API scm_root_state *scm_i_thread_root (SCM thread);
|
SCM_API scm_root_state *scm_i_thread_root (SCM thread);
|
||||||
|
|
||||||
#ifdef SCM_USE_PTHREAD_THREADS
|
#if SCM_USE_PTHREAD_THREADS
|
||||||
#include "libguile/pthread-threads.h"
|
# include "libguile/pthread-threads.h"
|
||||||
#else
|
#else
|
||||||
#include "libguile/null-threads.h"
|
# include "libguile/null-threads.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define SCM_CURRENT_THREAD \
|
#define SCM_CURRENT_THREAD \
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue