This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Added an additional #ifndef based on comments by Jarkko and
authorSteve Peters <steve@fisharerojo.org>
Sun, 27 Aug 2006 17:53:17 +0000 (17:53 +0000)
committerSteve Peters <steve@fisharerojo.org>
Sun, 27 Aug 2006 17:53:17 +0000 (17:53 +0000)
John Malmberg.

p4raw-id: //depot/perl@28765

x2p/INTERN.h

index 471093f..2933294 100644 (file)
@@ -12,7 +12,9 @@
 #ifdef __cplusplus
 #  define EXTERN_C extern "C"
 #else
 #ifdef __cplusplus
 #  define EXTERN_C extern "C"
 #else
-#  define EXTERN_C
+#  ifndef EXTERN_C
+#    define EXTERN_C
+#  endif
 #endif
 
 #undef INIT
 #endif
 
 #undef INIT