projects
/
platform
/
upstream
/
libgc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6e0d840
)
Fix disclaim_test to get GC_PTHREADS macro defined if multi-threaded
author
Ivan Maidanski
<ivmai@mail.ru>
Thu, 12 Apr 2012 19:53:50 +0000
(23:53 +0400)
committer
Ivan Maidanski
<ivmai@mail.ru>
Thu, 12 Apr 2012 19:53:50 +0000
(23:53 +0400)
* tests/disclaim_test.c: Include config.h if HAVE_CONFIG_H to define
GC_PTHREADS (indirectly) if multi-threading is on.
tests/disclaim_test.c
patch
|
blob
|
history
diff --git
a/tests/disclaim_test.c
b/tests/disclaim_test.c
index
11eb17e
..
3a57bc0
100644
(file)
--- a/
tests/disclaim_test.c
+++ b/
tests/disclaim_test.c
@@
-20,6
+20,11
@@
#include <stdio.h>
#include <string.h>
+#ifdef HAVE_CONFIG_H
+ /* For GC_[P]THREADS */
+# include "private/config.h"
+#endif
+
#include "gc_disclaim.h"
#define my_assert(e) \