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 --- EXTERN.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'EXTERN.h') diff --git a/EXTERN.h b/EXTERN.h index 58ca37a47f..a9a56448f5 100644 --- a/EXTERN.h +++ b/EXTERN.h @@ -55,6 +55,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) -- cgit v1.2.1