diff options
author | Marcus Holland-Moritz <mhx-perl@gmx.net> | 2008-10-27 19:26:50 +0000 |
---|---|---|
committer | Marcus Holland-Moritz <mhx-perl@gmx.net> | 2008-10-27 19:26:50 +0000 |
commit | 159e8d64637a3daadcbab30870860babbbe8e1c1 (patch) | |
tree | c2c48125f3d124656a4e61869a76d2ca81b02019 /x2p | |
parent | 61c26d184967d0f5f994e7ef94345fb0c7c72519 (diff) | |
download | perl-159e8d64637a3daadcbab30870860babbbe8e1c1.tar.gz |
Fix x2p, which was broken by #34598 with -DPERL_MEM_LOG.
p4raw-id: //depot/perl@34603
Diffstat (limited to 'x2p')
-rw-r--r-- | x2p/a2p.h | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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 |