summaryrefslogtreecommitdiff
path: root/win32/win32thread.c
diff options
context:
space:
mode:
Diffstat (limited to 'win32/win32thread.c')
-rw-r--r--win32/win32thread.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/win32/win32thread.c b/win32/win32thread.c
index 900f5fedff..6df2768c77 100644
--- a/win32/win32thread.c
+++ b/win32/win32thread.c
@@ -14,7 +14,7 @@ __declspec(thread) void *PL_current_context = NULL;
void
Perl_set_context(void *t)
{
-#if defined(USE_THREADS) || defined(USE_ITHREADS)
+#if defined(USE_5005THREADS) || defined(USE_ITHREADS)
# ifdef USE_DECLSPEC_THREAD
Perl_current_context = t;
# else
@@ -28,7 +28,7 @@ Perl_set_context(void *t)
void *
Perl_get_context(void)
{
-#if defined(USE_THREADS) || defined(USE_ITHREADS)
+#if defined(USE_5005THREADS) || defined(USE_ITHREADS)
# ifdef USE_DECLSPEC_THREAD
return Perl_current_context;
# else
@@ -42,7 +42,7 @@ Perl_get_context(void)
#endif
}
-#ifdef USE_THREADS
+#ifdef USE_5005THREADS
void
Perl_init_thread_intern(struct perl_thread *athr)
{