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
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
61c26d1
)
Fix x2p, which was broken by #34598 with -DPERL_MEM_LOG.
author
Marcus Holland-Moritz
<mhx-perl@gmx.net>
Mon, 27 Oct 2008 19:26:50 +0000
(19:26 +0000)
committer
Marcus Holland-Moritz
<mhx-perl@gmx.net>
Mon, 27 Oct 2008 19:26:50 +0000
(19:26 +0000)
p4raw-id: //depot/perl@34603
x2p/a2p.h
patch
|
blob
|
blame
|
history
diff --git
a/x2p/a2p.h
b/x2p/a2p.h
index
750e153
..
6b6004c
100644
(file)
--- a/
x2p/a2p.h
+++ b/
x2p/a2p.h
@@
-151,6
+151,12
@@
char *strcpy(), *strcat();
#endif
#endif /* ! STANDARD_C */
+#ifdef __cplusplus
+# define PERL_EXPORT_C extern "C"
+#else
+# define PERL_EXPORT_C extern
+#endif
+
#ifdef VMS
# include "handy.h"
#else