summaryrefslogtreecommitdiff
path: root/EXTERN.h
diff options
context:
space:
mode:
Diffstat (limited to 'EXTERN.h')
-rw-r--r--EXTERN.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/EXTERN.h b/EXTERN.h
index a48d0d3047..63cd6ddb43 100644
--- a/EXTERN.h
+++ b/EXTERN.h
@@ -23,7 +23,7 @@
# define EXTCONST globalref
# define dEXTCONST globaldef {"$GLOBAL_RO_VARS"} readonly
#else
-# if defined(WIN32) && !defined(__GNUC__)
+# if defined(WIN32) && !defined(__GNUC__) && !defined(PERL_OBJECT)
# ifdef PERLDLL
# define EXT extern __declspec(dllexport)
# define dEXT