diff options
author | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2006-08-27 15:57:39 +0000 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2006-08-27 15:57:39 +0000 |
commit | adceae88f516db14056f3ad2cf86787cab37ecd7 (patch) | |
tree | bebc695b64684ebb7049212faf79fe165ade80e6 /INTERN.h | |
parent | 3b5b112528953358a7e9f7cf245ff713d96cd972 (diff) | |
download | perl-adceae88f516db14056f3ad2cf86787cab37ecd7.tar.gz |
More conditional defines of EXTERN_C, by Jarkko
p4raw-id: //depot/perl@28763
Diffstat (limited to 'INTERN.h')
-rw-r--r-- | INTERN.h | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -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 |