summaryrefslogtreecommitdiff
path: root/defines.h
diff options
context:
space:
mode:
authoreban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-06-01 12:58:56 +0000
committereban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-06-01 12:58:56 +0000
commitfd681fe0e5240ae112b15ff437d3259f202b9705 (patch)
tree3c702e558fd624f097011e635fb851425d7623c8 /defines.h
parentdc13952417e5c918de9bd51f504db7a289ddabed (diff)
downloadruby-fd681fe0e5240ae112b15ff437d3259f202b9705.tar.gz
* configure.in: should not use def file, use ld with
--export-all-symbols option on Cygwin/MinGW. * defines.h: ditto. * cygwin/GNUmakefile.in: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3894 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'defines.h')
-rw-r--r--defines.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/defines.h b/defines.h
index 0aee7d8019..24bb3b0cda 100644
--- a/defines.h
+++ b/defines.h
@@ -125,7 +125,7 @@ void xfree _((void*));
#endif
#undef RUBY_EXTERN
-#if defined __CYGWIN__ || defined _WIN32
+#if defined _WIN32 && !defined __GNUC__
# ifndef RUBY_EXPORT
# define RUBY_EXTERN extern __declspec(dllimport)
# endif