diff options
Diffstat (limited to 'libguile/pthread-threads.h')
-rw-r--r-- | libguile/pthread-threads.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libguile/pthread-threads.h b/libguile/pthread-threads.h index 06e735f75..e2ee7b2fa 100644 --- a/libguile/pthread-threads.h +++ b/libguile/pthread-threads.h @@ -28,6 +28,10 @@ #include <pthread.h> #include <sched.h> +/* `libgc' intercepts pthread calls by defining wrapping macros. */ +#define GC_THREADS 1 +#include <gc/gc.h> + /* Threads */ #define scm_i_pthread_t pthread_t |