diff options
author | arton <arton@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-03-19 16:33:59 +0000 |
---|---|---|
committer | arton <arton@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-03-19 16:33:59 +0000 |
commit | 11e4052295ade5bfa68f9f4b1c4b99edcfbbedc7 (patch) | |
tree | 6a2dbb93d6e1215fb28551405436eb00eb7742df /win32 | |
parent | bdc8f4fca9f6dacf6abd16d4fcf829401adf5556 (diff) | |
download | ruby-11e4052295ade5bfa68f9f4b1c4b99edcfbbedc7.tar.gz |
* hash.c (ruby_setenv): check env process block size with OS ver.
* win32/win32.c: export rb_w32_osver for above patch.
* include/ruby/win32.h: declare rb_w32_osver for Win32 Libs.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31132 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'win32')
-rw-r--r-- | win32/win32.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/win32/win32.c b/win32/win32.c index 99802d07d0..1805fe1015 100644 --- a/win32/win32.c +++ b/win32/win32.c @@ -252,7 +252,7 @@ rb_w32_osid(void) } #endif -static DWORD +DWORD rb_w32_osver(void) { return osver.dwMajorVersion; |