summaryrefslogtreecommitdiff
path: root/win32/win32.c
diff options
context:
space:
mode:
authorusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-10-04 06:29:31 +0000
committerusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-10-04 06:29:31 +0000
commitc4e433a83a3f2d0baed425c8467af50c46bdfd6b (patch)
tree5f940dd4d03f813381d7bba992782866e27ab4f0 /win32/win32.c
parentd4b0efc010a45e904ecdad2dd74374b5c74e61e3 (diff)
Support ubasecrt.dll 10.0.17763.1 included in Windows 10 October 2018 Update
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64913 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'win32/win32.c')
-rw-r--r--win32/win32.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/win32/win32.c b/win32/win32.c
index c76d43d384..8165812b25 100644
--- a/win32/win32.c
+++ b/win32/win32.c
@@ -2443,6 +2443,7 @@ EXTERN_C _CRTIMP ioinfo * __pioinfo[];
#endif
static inline ioinfo* _pioinfo(int);
+
#define IOINFO_ARRAY_ELTS (1 << IOINFO_L2E)
#define _osfhnd(i) (_pioinfo(i)->osfhnd)
#define _osfile(i) (_pioinfo(i)->osfile)
@@ -2517,7 +2518,7 @@ set_pioinfo_extra(void)
#else
__pioinfo = *(ioinfo***)(p);
#endif
-#else
+#endif
int fd;
fd = _open("NUL", O_RDONLY);
@@ -2532,7 +2533,6 @@ set_pioinfo_extra(void)
/* not found, maybe something wrong... */
pioinfo_extra = 0;
}
-#endif
}
#else
#define pioinfo_extra 0