1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* include/ruby/win32.h (WIN95): moved to config.h

* win32/Makefile.sub (config.h): defines WIN95 only if unicows.lib
  is available.

* win32/setup.mak (-unicows-): checks if unicows.lib is available.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22763 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2009-03-04 10:35:28 +00:00
parent f45caa14f6
commit 6e7d7bf5dd
4 changed files with 28 additions and 11 deletions

View file

@ -89,12 +89,6 @@ typedef unsigned int uintptr_t;
# define mode_t int
#endif
#ifdef _M_IX86
# define WIN95 1
#else
# undef WIN95
#endif
#ifdef WIN95
extern DWORD rb_w32_osid(void);
#define rb_w32_iswinnt() (rb_w32_osid() == VER_PLATFORM_WIN32_NT)