* 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
This commit is contained in:
eban 2004-01-17 17:39:05 +00:00
parent 13fa93f777
commit 14dc9c3508
2 changed files with 8 additions and 3 deletions

View File

@ -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

View File

@ -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