From 159e8d64637a3daadcbab30870860babbbe8e1c1 Mon Sep 17 00:00:00 2001 From: Marcus Holland-Moritz Date: Mon, 27 Oct 2008 19:26:50 +0000 Subject: [PATCH] Fix x2p, which was broken by #34598 with -DPERL_MEM_LOG. p4raw-id: //depot/perl@34603 --- x2p/a2p.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/x2p/a2p.h b/x2p/a2p.h index 750e153..6b6004c 100644 --- 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 -- 2.7.4