From: Ivan Maidanski Date: Thu, 12 Apr 2012 19:53:50 +0000 (+0400) Subject: Fix disclaim_test to get GC_PTHREADS macro defined if multi-threaded X-Git-Tag: gc7_3alpha2~20 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=549160fece314d99726d14046cae5808a4435281;p=gc Fix disclaim_test to get GC_PTHREADS macro defined if multi-threaded * tests/disclaim_test.c: Include config.h if HAVE_CONFIG_H to define GC_PTHREADS (indirectly) if multi-threading is on. --- diff --git a/tests/disclaim_test.c b/tests/disclaim_test.c index 11eb17ec..3a57bc07 100644 --- a/tests/disclaim_test.c +++ b/tests/disclaim_test.c @@ -20,6 +20,11 @@ #include #include +#ifdef HAVE_CONFIG_H + /* For GC_[P]THREADS */ +# include "private/config.h" +#endif + #include "gc_disclaim.h" #define my_assert(e) \