Skip to content

Commit 159e8d6

Browse files
author
Marcus Holland-Moritz
committed
Fix x2p, which was broken by #34598 with -DPERL_MEM_LOG.
p4raw-id: //depot/perl@34603
1 parent 61c26d1 commit 159e8d6

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

x2p/a2p.h

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,12 @@ char *strcpy(), *strcat();
151151
#endif
152152
#endif /* ! STANDARD_C */
153153

154+
#ifdef __cplusplus
155+
# define PERL_EXPORT_C extern "C"
156+
#else
157+
# define PERL_EXPORT_C extern
158+
#endif
159+
154160
#ifdef VMS
155161
# include "handy.h"
156162
#else

0 commit comments

Comments
 (0)