summaryrefslogtreecommitdiff
path: root/perlapi.c
diff options
context:
space:
mode:
authorArtur Bergman <sky@nanisky.com>2001-08-27 15:16:42 +0000
committerArtur Bergman <sky@nanisky.com>2001-08-27 15:16:42 +0000
commit4d1ff10ffec86208b0da135b87c76b89e61c866e (patch)
tree741ba054917367001dce29e674a1e99c8fa229d3 /perlapi.c
parenteb9ee3dc93112029ee3de6fd047d54576a1f1a1f (diff)
downloadperl-4d1ff10ffec86208b0da135b87c76b89e61c866e.tar.gz
Changes USE_THREADS to USE_5005THREADS in the entire source.
Thanks to H. Merijn Brand for the patch. Some of the comments and or guards might be removable in perl.h now. p4raw-id: //depot/perl@11758
Diffstat (limited to 'perlapi.c')
-rw-r--r--perlapi.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/perlapi.c b/perlapi.c
index ec2ee3898e..5613a00065 100644
--- a/perlapi.c
+++ b/perlapi.c
@@ -296,7 +296,7 @@ Perl_my_chsize(pTHXo_ int fd, Off_t length)
return ((CPerlObj*)pPerl)->Perl_my_chsize(fd, length);
}
#endif
-#if defined(USE_THREADS)
+#if defined(USE_5005THREADS)
#undef Perl_condpair_magic
MAGIC*
@@ -750,7 +750,7 @@ Perl_fbm_instr(pTHXo_ unsigned char* big, unsigned char* bigend, SV* littlesv, U
{
return ((CPerlObj*)pPerl)->Perl_fbm_instr(big, bigend, littlesv, flags);
}
-#if defined(USE_THREADS)
+#if defined(USE_5005THREADS)
#endif
#undef Perl_form
@@ -1519,7 +1519,7 @@ Perl_grok_numeric_radix(pTHXo_ const char **sp, const char *send)
{
return ((CPerlObj*)pPerl)->Perl_grok_numeric_radix(sp, send);
}
-#if defined(USE_THREADS)
+#if defined(USE_5005THREADS)
#endif
#if defined(USE_LOCALE_COLLATE)
#endif
@@ -2223,7 +2223,7 @@ Perl_parse(pTHXo_ XSINIT_t xsinit, int argc, char** argv, char** env)
return ((CPerlObj*)pPerl)->Perl_parse(xsinit, argc, argv, env);
}
#endif
-#if defined(USE_THREADS)
+#if defined(USE_5005THREADS)
#undef Perl_new_struct_thread
struct perl_thread*
@@ -3457,7 +3457,7 @@ Perl_unlnk(pTHXo_ char* f)
return ((CPerlObj*)pPerl)->Perl_unlnk(f);
}
#endif
-#if defined(USE_THREADS)
+#if defined(USE_5005THREADS)
#undef Perl_unlock_condpair
void
@@ -3719,7 +3719,7 @@ Perl_runops_debug(pTHXo)
{
return ((CPerlObj*)pPerl)->Perl_runops_debug();
}
-#if defined(USE_THREADS)
+#if defined(USE_5005THREADS)
#undef Perl_sv_lock
SV*
@@ -4237,7 +4237,7 @@ Perl_sys_intern_init(pTHXo)
# endif
#if defined(PERL_FLEXIBLE_EXCEPTIONS)
#endif
-# if defined(USE_THREADS)
+# if defined(USE_5005THREADS)
# endif
#endif
#if defined(PERL_IN_PP_C) || defined(PERL_DECL_PROT)