summaryrefslogtreecommitdiff
path: root/perl.h
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2001-02-13 00:23:10 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2001-02-13 00:23:10 +0000
commitfc9c74e6dee56e6598e1d19f25036ff340d46893 (patch)
treed75a7e70ecfa9f1bbb2ae9b50a690ce6d6b0bcbb /perl.h
parent24f81a43516329e25358da5cf5b11ee0116287bd (diff)
downloadperl-fc9c74e6dee56e6598e1d19f25036ff340d46893.tar.gz
Comments do not nest.
p4raw-id: //depot/perl@8778
Diffstat (limited to 'perl.h')
-rw-r--r--perl.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/perl.h b/perl.h
index df90a651be..8953c6a0d8 100644
--- a/perl.h
+++ b/perl.h
@@ -2202,7 +2202,6 @@ struct ufuncs {
* like the following:
#ifndef PERL_MG_UFUNC
-/* the old way, without pTHX_ */
#define PERL_MG_UFUNC(name,ix,sv) I32 name(IV ix, SV *sv)
#endif
@@ -2216,7 +2215,9 @@ static PERL_MG_UFUNC(foo_get, index, val)
*/
+#ifndef PERL_MG_UFUNC
#define PERL_MG_UFUNC(name,ix,sv) I32 name(pTHX_ IV ix, SV *sv)
+#endif
/* Fix these up for __STDC__ */
#ifndef DONT_DECLARE_STD