diff options
author | eban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-01-17 17:39:05 +0000 |
---|---|---|
committer | eban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-01-17 17:39:05 +0000 |
commit | 14dc9c35084bc39842a0dcb72033b93b70223ce3 (patch) | |
tree | 20b45a941c55b3f886f7d7ffa39adb6da63ffdb6 /defines.h | |
parent | 13fa93f777a40e55b41f0e89c4337a21d0e06058 (diff) | |
download | ruby-14dc9c35084bc39842a0dcb72033b93b70223ce3.tar.gz |
* defines.h (_WIN32): undef _WIN32 on Cygwin before defining DOSISH.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5483 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'defines.h')
-rw-r--r-- | defines.h | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -82,6 +82,10 @@ void xfree _((void*)); # define BDIGIT_DBL_SIGNED long #endif +#ifdef __CYGWIN__ +#undef _WIN32 +#endif + #if defined(MSDOS) || defined(_WIN32) || defined(__human68k__) || defined(__EMX__) #define DOSISH 1 #ifndef _WIN32_WCE @@ -176,9 +180,6 @@ typedef int pid_t; #endif /* __APPLE__ */ #endif /* NeXT */ -#ifdef __CYGWIN__ -#undef _WIN32 -#endif #ifdef _WIN32 #include "win32/win32.h" #endif |