summaryrefslogtreecommitdiff
path: root/perlapi.c
diff options
context:
space:
mode:
authorDan Sugalski <dan@sidhe.org>2000-06-02 12:00:41 -0400
committerJarkko Hietaniemi <jhi@iki.fi>2000-06-03 14:59:15 +0000
commit34f7a5fe99f3faa5f4f74634b6f6f7c52e1655f8 (patch)
tree1f755134fc26cd1871b1a47049f9d81f98ec7e72 /perlapi.c
parent1f950eb4f39b89f547d5802df0c94526d900d2f2 (diff)
downloadperl-34f7a5fe99f3faa5f4f74634b6f6f7c52e1655f8.tar.gz
VMS fixups so we can build with MULTIPLICITY
To: vmsperl@perl.org, perl5-porters@perl.org Message-Id: <4.3.2.7.0.20000602155951.01f02b20@24.8.96.48> Message-Id: <4.3.2.7.0.20000602164011.01ec8c30@24.8.96.48> p4raw-id: //depot/cfgperl@6198
Diffstat (limited to 'perlapi.c')
-rwxr-xr-xperlapi.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/perlapi.c b/perlapi.c
index 10a7a37c40..d3e2482601 100755
--- a/perlapi.c
+++ b/perlapi.c
@@ -41,6 +41,9 @@ START_EXTERN_C
{ return &(PL_##v); }
#define PERLVARA(v,n,t) PL_##v##_t* Perl_##v##_ptr(pTHXo) \
{ return &(PL_##v); }
+#undef PERLVARIC
+#define PERLVARIC(v,t,i) const t* Perl_##v##_ptr(pTHXo) \
+ { return (const t *)&(PL_##v); }
#include "perlvars.h"
#undef PERLVAR