Skip to content
Browse files

Fix thread-related tests for pthreads-w32

* tests/initsecondarythread.c: Include "private/config.h" if
HAVE_CONFIG_H (mostly to have GC_WIN32_PTHREADS defined for
pthreads-w32 target).
* tests/thread_leak_test.c: Likewise.
* tests/threadkey_test.c: Likewise.
  • Loading branch information...
1 parent 0e15af5 commit 8965b3c7cd1e73f51cd1688a75eaf034706e5775 @ivmai committed Jun 17, 2012
Showing with 12 additions and 0 deletions.
  1. +4 −0 tests/initsecondarythread.c
  2. +4 −0 tests/thread_leak_test.c
  3. +4 −0 tests/threadkey_test.c
View
4 tests/initsecondarythread.c
@@ -15,6 +15,10 @@
* thread.
*/
+#ifdef HAVE_CONFIG_H
+# include "private/config.h"
+#endif
+
#ifndef GC_THREADS
# define GC_THREADS
#endif
View
4 tests/thread_leak_test.c
@@ -1,4 +1,8 @@
+#ifdef HAVE_CONFIG_H
+# include "private/config.h"
+#endif
+
#ifndef GC_THREADS
# define GC_THREADS
#endif
View
4 tests/threadkey_test.c
@@ -1,4 +1,8 @@
+#ifdef HAVE_CONFIG_H
+# include "private/config.h"
+#endif
+
#ifndef GC_THREADS
# define GC_THREADS
#endif

0 comments on commit 8965b3c

Please sign in to comment.
Something went wrong with that request. Please try again.