summaryrefslogtreecommitdiff
path: root/INTERN.h
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>1999-12-28 21:10:37 +0000
committerGurusamy Sarathy <gsar@cpan.org>1999-12-28 21:10:37 +0000
commit7340a77173f95a81dc18665dfca437da3de391c8 (patch)
treeeaef99e3908231e92ce847a86025b3676d08dff7 /INTERN.h
parent26ab540f0a7b69d726901da633fc578e4cfbb05a (diff)
downloadperl-7340a77173f95a81dc18665dfca437da3de391c8.tar.gz
Windows build tweaks
p4raw-id: //depot/perl@4734
Diffstat (limited to 'INTERN.h')
-rw-r--r--INTERN.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/INTERN.h b/INTERN.h
index c2407f2bc9..ee2959c383 100644
--- a/INTERN.h
+++ b/INTERN.h
@@ -27,11 +27,11 @@
# define EXTCONST globaldef {"$GLOBAL_RO_VARS"} readonly
# define dEXTCONST globaldef {"$GLOBAL_RO_VARS"} readonly
#else
-#ifdef WIN32
+#if defined(WIN32) && defined(__MINGW32__)
# define EXT __declspec(dllexport)
-# define dEXT __declspec(dllexport)
+# define dEXT
# define EXTCONST __declspec(dllexport) const
-# define dEXTCONST __declspec(dllexport) const
+# define dEXTCONST const
#else
#ifdef __cplusplus
# define EXT