diff options
author | Gurusamy Sarathy <gsar@cpan.org> | 1999-12-28 18:40:19 +0000 |
---|---|---|
committer | Gurusamy Sarathy <gsar@cpan.org> | 1999-12-28 18:40:19 +0000 |
commit | 5db1039675bdeda8d9e4e8a1462abefb8ede0419 (patch) | |
tree | 7c515c7e6015a6511561b5fe09ec25d580a66ac4 /INTERN.h | |
parent | 33079e286d5308155d46cf4f82350ddbb5b5ad95 (diff) | |
download | perl-5db1039675bdeda8d9e4e8a1462abefb8ede0419.tar.gz |
Win9x + GCC update from Benjamin Stuhl <sho_pi@hotmail.com>
p4raw-id: //depot/perl@4729
Diffstat (limited to 'INTERN.h')
-rw-r--r-- | INTERN.h | 17 |
1 files changed, 12 insertions, 5 deletions
@@ -27,11 +27,17 @@ # 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 +#ifdef WIN32 +# define EXT __declspec(dllexport) +# define dEXT __declspec(dllexport) +# define EXTCONST __declspec(dllexport) const +# define dEXTCONST __declspec(dllexport) const +#else +#ifdef __cplusplus +# define EXT +# define dEXT +# define EXTCONST extern const +# define dEXTCONST const #else # define EXT # define dEXT @@ -39,6 +45,7 @@ # define dEXTCONST const #endif #endif +#endif #undef INIT #define INIT(x) = x |