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 /include | |
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 'include')
-rw-r--r-- | include/ruby/win32.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/ruby/win32.h b/include/ruby/win32.h index 051e9e9814..791085fa6c 100644 --- a/include/ruby/win32.h +++ b/include/ruby/win32.h @@ -271,6 +271,7 @@ extern char **rb_w32_get_environ(void); extern void rb_w32_free_environ(char **); extern int rb_w32_map_errno(DWORD); extern char * WSAAPI rb_w32_inet_ntop(int,void *,char *,size_t); +extern DWORD rb_w32_osver(void); extern int chown(const char *, int, int); extern int rb_w32_uchown(const char *, int, int); |