]> granicus.if.org Git - gc/commitdiff
tests: Fix subthread_create to have PARALLEL_MARK as requested
authorIvan Maidanski <ivmai@mail.ru>
Thu, 12 Apr 2012 20:02:47 +0000 (00:02 +0400)
committerIvan Maidanski <ivmai@mail.ru>
Thu, 12 Apr 2012 20:02:47 +0000 (00:02 +0400)
* tests/subthread_create.c: Include config.h if HAVE_CONFIG_H (to have
PARALLEL_MARK defined if configured so).

tests/subthread_create.c

index 8b7b08791f6835bba58038eace7223216ac744ce..cbdc5e3cdb85dcb43f68af77fa02110e44409544 100644 (file)
@@ -1,4 +1,9 @@
 
+#ifdef HAVE_CONFIG_H
+  /* For PARALLEL_MARK */
+# include "private/config.h"
+#endif
+
 #ifndef GC_THREADS
 # define GC_THREADS
 #endif