diff options
Diffstat (limited to 'src/misc/extra/extra.h')
-rw-r--r-- | src/misc/extra/extra.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/misc/extra/extra.h b/src/misc/extra/extra.h index 666d7388..1b6abaa6 100644 --- a/src/misc/extra/extra.h +++ b/src/misc/extra/extra.h @@ -29,6 +29,10 @@ #ifndef __EXTRA_H__ #define __EXTRA_H__ +#ifdef __cplusplus +extern "C" { +#endif + #ifdef _WIN32 #define inline __inline // compatible with MS VS 6.0 #endif @@ -434,4 +438,8 @@ extern int globalUtilOptind; /**AutomaticEnd***************************************************************/ +#ifdef __cplusplus +} +#endif + #endif /* __EXTRA_H__ */ |