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
This commit is contained in:
usa 2018-10-04 06:29:31 +00:00
Родитель d4b0efc010
Коммит c4e433a83a
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -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