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 | ca99d2e3cb0aab83cb2f9ca915454b87532a1115 (patch) | |
| tree | 20b45a941c55b3f886f7d7ffa39adb6da63ffdb6 /defines.h | |
| parent | cc6b069fdae63607458984636e6b174db27a421b (diff) | |
| download | ruby-ca99d2e3cb0aab83cb2f9ca915454b87532a1115.tar.gz ruby-ca99d2e3cb0aab83cb2f9ca915454b87532a1115.tar.xz ruby-ca99d2e3cb0aab83cb2f9ca915454b87532a1115.zip | |
* defines.h (_WIN32): undef _WIN32 on Cygwin before defining DOSISH.
git-svn-id: http://svn.ruby-lang.org/repos/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 |
