summaryrefslogtreecommitdiff
path: root/include/ruby/win32.h
diff options
context:
space:
mode:
authorusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-07-09 08:33:47 +0000
committerusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-07-09 08:33:47 +0000
commit284d912ecc494e8c048890c00aeaeec92b23179f (patch)
treee28273128cb282d854296aea32aaf19599a89965 /include/ruby/win32.h
parent9d2711691e932c95b41082aff819abd76a1be540 (diff)
* include/ruby/win32.h: sorry, mistaken.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36343 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'include/ruby/win32.h')
-rw-r--r--include/ruby/win32.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/ruby/win32.h b/include/ruby/win32.h
index 8a52e66..ed7523e 100644
--- a/include/ruby/win32.h
+++ b/include/ruby/win32.h
@@ -105,9 +105,8 @@ typedef unsigned int uintptr_t;
# include <unistd.h>
#endif
-extern DWORD rb_w32_osid(void);
-#define rb_w32_iswinnt() (rb_w32_osid() == VER_PLATFORM_WIN32_NT)
-#define rb_w32_iswin95() (rb_w32_osid() == VER_PLATFORM_WIN32_WINDOWS)
+#define rb_w32_iswinnt() TRUE
+#define rb_w32_iswin95() FALSE
#define WNOHANG -1
@@ -226,6 +225,7 @@ struct msghdr {
};
#define NtInitialize ruby_sysinit
+extern DWORD rb_w32_osid(void);
extern int rb_w32_cmdvector(const char *, char ***);
extern rb_pid_t rb_w32_pipe_exec(const char *, const char *, int, int *, int *);
extern int flock(int fd, int oper);