* tests/test.c [GC_PTHREADS && !GC_WIN32_PTHREADS]
(NO_TEST_HANDLE_FORK): Define.
* win32_threads.c [CAN_HANDLE_FORK] (available_markers_m1): Define (as
static variable) even if !GC_PTHREADS_PARAMARK.
# define GC_printf printf
# endif
-# if defined(GC_PTHREADS)
+# if defined(GC_PTHREADS) && !defined(GC_WIN32_PTHREADS)
# include <pthread.h>
# else
# define NO_TEST_HANDLE_FORK
/* GC_mark_threads[] is unused here unlike that in pthread_support.c */
-# ifndef CAN_HANDLE_FORK
+# ifdef CAN_HANDLE_FORK
+ static int available_markers_m1 = 0;
+# else
# define available_markers_m1 GC_markers_m1
# endif
/* GC_start_mark_threads is the same as in pthread_support.c except */
/* for thread stack that is assumed to be large enough. */
-# ifdef CAN_HANDLE_FORK
- static int available_markers_m1 = 0;
-# endif
GC_INNER void GC_start_mark_threads_inner(void)
{