From adceae88f516db14056f3ad2cf86787cab37ecd7 Mon Sep 17 00:00:00 2001 From: Rafael Garcia-Suarez Date: Sun, 27 Aug 2006 15:57:39 +0000 Subject: More conditional defines of EXTERN_C, by Jarkko p4raw-id: //depot/perl@28763 --- INTERN.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'INTERN.h') diff --git a/INTERN.h b/INTERN.h index da3057a83c..206d56e56e 100644 --- a/INTERN.h +++ b/INTERN.h @@ -48,6 +48,14 @@ # endif #endif +#ifndef EXTERN_C +# ifdef __cplusplus +# define EXTERN_C extern "C" +# else +# define EXTERN_C extern +# endif +#endif + #undef INIT #define INIT(x) = x -- cgit v1.2.1