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
[perl5.git] / x2p / INTERN.h
index 471093f..2933294 100644 (file)
@@ -12,7 +12,9 @@
 #ifdef __cplusplus
 #  define EXTERN_C extern "C"
 #else
-#  define EXTERN_C
+#  ifndef EXTERN_C
+#    define EXTERN_C
+#  endif
 #endif
 
 #undef INIT