diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-03-13 00:43:25 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-03-13 00:43:25 +0000 |
commit | 404ec7cdcaf678af714a81da9a4208e89bcfb1be (patch) | |
tree | c418b95b482c3b41de348d2d2906dce8f874a872 /include | |
parent | 7d30d8538be3eace8f3256945a8f7665a6b68734 (diff) | |
download | ruby-404ec7cdcaf678af714a81da9a4208e89bcfb1be.tar.gz |
win32.h: fix O_SHARE_DELETE
* include/ruby/win32.h (O_SHARE_DELETE): change to fit Fixnum
limit. [ruby-core:74285] [Bug #12171]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54094 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'include')
-rw-r--r-- | include/ruby/win32.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/ruby/win32.h b/include/ruby/win32.h index c26aa9d4f9..47f68b8cb2 100644 --- a/include/ruby/win32.h +++ b/include/ruby/win32.h @@ -127,7 +127,7 @@ typedef unsigned int uintptr_t; #define WNOHANG -1 -#define O_SHARE_DELETE 0x80000000 /* for rb_w32_open(), rb_w32_wopen() */ +#define O_SHARE_DELETE 0x20000000 /* for rb_w32_open(), rb_w32_wopen() */ typedef int clockid_t; #define CLOCK_REALTIME 0 |