summaryrefslogtreecommitdiff
path: root/x2p/INTERN.h
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2006-08-21 17:48:26 +0300
committerSteve Peters <steve@fisharerojo.org>2006-08-22 01:03:05 +0000
commita4ca311e7ffe1fa1642075a843cf9392ea7a6d54 (patch)
tree81909c19c07974c82ef782d28192e73bc800777f /x2p/INTERN.h
parent45d3b5469846d045649a3f1b7d0f06e1edd30ad7 (diff)
downloadperl-a4ca311e7ffe1fa1642075a843cf9392ea7a6d54.tar.gz
g++/x2p (better version)
Message-Id: <200608211148.k7LBmQGL161830@kosh.hut.fi> p4raw-id: //depot/perl@28742
Diffstat (limited to 'x2p/INTERN.h')
-rw-r--r--x2p/INTERN.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/x2p/INTERN.h b/x2p/INTERN.h
index 539e915069..471093fd6e 100644
--- a/x2p/INTERN.h
+++ b/x2p/INTERN.h
@@ -9,6 +9,12 @@
#undef EXT
#define EXT
+#ifdef __cplusplus
+# define EXTERN_C extern "C"
+#else
+# define EXTERN_C
+#endif
+
#undef INIT
#define INIT(x) = x