diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2000-05-09 04:53:16 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2000-05-09 04:53:16 +0000 |
commit | 655e96fa59f62f7d31b2d9d470947f97aceb7b92 (patch) | |
tree | 6b6bb0a6ce9e46b326dbde9378c3791a54be1dd5 /defines.h | |
parent | 2a34f89e354071d09c64a93bf3498dfa108f3e8c (diff) | |
download | ruby-655e96fa59f62f7d31b2d9d470947f97aceb7b92.tar.gz |
2000-05-09
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@682 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'defines.h')
-rw-r--r-- | defines.h | 10 |
1 files changed, 9 insertions, 1 deletions
@@ -34,6 +34,14 @@ #include "win32/win32.h" #endif +#if defined __CYGWIN__ +# if defined USEIMPORTLIB +# define EXTERN extern __declspec(dllimport) +# else +# define EXTERN extern __declspec(dllexport) +# endif +#endif + #ifndef EXTERN #define EXTERN extern #endif @@ -62,7 +70,7 @@ #undef HAVE_SETITIMER #endif -#if defined(__CYGWIN__) || defined(DJGPP) || defined(__BOW__) +#if defined(DJGPP) || defined(__BOW__) #undef HAVE_SETITIMER #endif |