summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvan Maidanski <ivmai@mail.ru>2013-07-15 11:33:12 +0200
committerIvan Maidanski <ivmai@mail.ru>2013-07-15 11:33:12 +0200
commit2fd2a4436aeed76f16274fe24fea735bbc7077c8 (patch)
tree08d66f4a0e11ff48b9d57452131c9c6f171fe295
parent1660ea627695e0efecb0a9c94aaff9b4f923c29d (diff)
Fix GC_PTHREAD_PTRVAL definition for GC_PTHREADS_PARAMARK (Win32)
* win32_threads.c (GC_PTHREAD_PTRVAL): Define also if GC_PTHREADS_PARAMARK (even w/o GC_WIN32_PTHREADS).
-rw-r--r--win32_threads.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/win32_threads.c b/win32_threads.c
index a241e93..c37d529 100644
--- a/win32_threads.c
+++ b/win32_threads.c
@@ -620,7 +620,7 @@ GC_API int GC_CALL GC_thread_is_registered(void)
#ifdef CYGWIN32
# define GC_PTHREAD_PTRVAL(pthread_id) pthread_id
-#elif defined(GC_WIN32_PTHREADS)
+#elif defined(GC_WIN32_PTHREADS) || defined(GC_PTHREADS_PARAMARK)
# define GC_PTHREAD_PTRVAL(pthread_id) pthread_id.p
#endif