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 | |
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
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | defines.h | 7 |
2 files changed, 8 insertions, 3 deletions
@@ -1,3 +1,7 @@ +Sun Jan 18 02:33:26 2004 WATANABE Hirofumi <eban@ruby-lang.org> + + * defines.h (_WIN32): undef _WIN32 on Cygwin before defining DOSISH. + Sun Jan 18 00:23:55 2004 Nobuyoshi Nakada <nobu@ruby-lang.org> * marshal.c (class2path): check anonymous class/module before @@ -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 |