From c4e433a83a3f2d0baed425c8467af50c46bdfd6b Mon Sep 17 00:00:00 2001 From: usa Date: Thu, 4 Oct 2018 06:29:31 +0000 Subject: [PATCH] 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 --- win32/win32.c | 4 ++-- 1 file 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