This is a live mirror of the Perl 5 development currently hosted at
https://github.com/perl/perl5
https://perl5.git.perl.org
/
perl5.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Replace OP stubs in mathoms.c with #define aliases in opcode.h
[perl5.git]
/
x2p
/
INTERN.h
diff --git
a/x2p/INTERN.h
b/x2p/INTERN.h
index
539e915
..
2933294
100644
(file)
--- a/
x2p/INTERN.h
+++ b/
x2p/INTERN.h
@@
-9,6
+9,14
@@
#undef EXT
#define EXT
+#ifdef __cplusplus
+# define EXTERN_C extern "C"
+#else
+# ifndef EXTERN_C
+# define EXTERN_C
+# endif
+#endif
+
#undef INIT
#define INIT(x) = x