summaryrefslogtreecommitdiff
path: root/perl.c
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>1997-11-12 01:22:26 +0000
committerGurusamy Sarathy <gsar@cpan.org>1997-11-12 01:22:26 +0000
commit4b026b9ec580787cd32d43ab9381ecc2040179be (patch)
treecb8f631bca7bc73f38024763711ed56a32d71425 /perl.c
parente7cd54d7e2bd82a89f30e2f71675be1f5d3be34d (diff)
downloadperl-4b026b9ec580787cd32d43ab9381ecc2040179be.tar.gz
Minor tweaks to add a thread_intern struct that should ultimately
contain all the win32-specific statics. Win32 branch now passes all tests with or w/o USE_THREADS. p4raw-id: //depot/win32/perl@235
Diffstat (limited to 'perl.c')
-rw-r--r--perl.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/perl.c b/perl.c
index 338193d937..2e2435ed92 100644
--- a/perl.c
+++ b/perl.c
@@ -2842,11 +2842,11 @@ init_main_thread()
thr->prev = thr;
MUTEX_UNLOCK(&threads_mutex);
-#ifdef INIT_THREAD_INTERN
- INIT_THREAD_INTERN(thr);
+#ifdef HAVE_THREAD_INTERN
+ init_thread_intern(thr);
#else
thr->self = pthread_self();
-#endif /* INIT_THREAD_INTERN */
+#endif /* HAVE_THREAD_INTERN */
SET_THR(thr);
/*