diff options
Diffstat (limited to 'INTERN.h')
-rw-r--r-- | INTERN.h | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -23,11 +23,18 @@ # define EXTCONST globaldef {"$GLOBAL_RO_VARS"} readonly # define dEXTCONST globaldef {"$GLOBAL_RO_VARS"} readonly #else +# ifdef __cplusplus +# define EXT +# define dEXT +# define EXTCONST extern const +# define dEXTCONST const +#else # define EXT # define dEXT # define EXTCONST const # define dEXTCONST const #endif +#endif #undef INIT #define INIT(x) = x |