summaryrefslogtreecommitdiff
path: root/embed.h
diff options
context:
space:
mode:
authorSteve Hay <SteveHay@planit.com>2004-11-16 09:42:50 +0000
committerSteve Hay <SteveHay@planit.com>2004-11-16 09:42:50 +0000
commit4026c95ac795414220d662f764bd6e993724505d (patch)
tree04a79e3b2ce2e22e973f154adbbdeae3c3b9d03e /embed.h
parent68ccb645d74feb45c64863c3223051537fbc9fed (diff)
downloadperl-4026c95ac795414220d662f764bd6e993724505d.tar.gz
Fix Win32 breakage caused by changes to op.c in change 23433.
Also limit the scope of the locks in a couple of places, as suggested by Hugo in http://www.xray.mpe.mpg.de/mailing-lists/perl5-porters/2004-11/msg00286.html. p4raw-id: //depot/perl@23499
Diffstat (limited to 'embed.h')
-rw-r--r--embed.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/embed.h b/embed.h
index d082754694..05878012b6 100644
--- a/embed.h
+++ b/embed.h
@@ -443,6 +443,8 @@
#ifdef PERL_CORE
#define op_clear Perl_op_clear
#endif
+#define op_refcnt_lock Perl_op_refcnt_lock
+#define op_refcnt_unlock Perl_op_refcnt_unlock
#ifdef PERL_CORE
#define linklist Perl_linklist
#endif
@@ -3067,6 +3069,8 @@
#ifdef PERL_CORE
#define op_clear(a) Perl_op_clear(aTHX_ a)
#endif
+#define op_refcnt_lock() Perl_op_refcnt_lock(aTHX)
+#define op_refcnt_unlock() Perl_op_refcnt_unlock(aTHX)
#ifdef PERL_CORE
#define linklist(a) Perl_linklist(aTHX_ a)
#endif