mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
MINGW: _WIN64 is not defined on i386-mingw32 + ucrt.
This commit is contained in:
parent
637d7288f3
commit
e32fe3ce76
Notes:
git
2021-09-20 00:16:02 +09:00
1 changed files with 2 additions and 2 deletions
|
@ -2578,7 +2578,7 @@ set_pioinfo_extra(void)
|
|||
char *pend = p;
|
||||
/* _osfile(fh) & FDEV */
|
||||
|
||||
# if _WIN64
|
||||
# ifdef _WIN64
|
||||
int32_t rel;
|
||||
char *rip;
|
||||
/* add rsp, _ */
|
||||
|
@ -2620,7 +2620,7 @@ set_pioinfo_extra(void)
|
|||
|
||||
found:
|
||||
p += sizeof(PIOINFO_MARK) - 1;
|
||||
#if _WIN64
|
||||
#ifdef _WIN64
|
||||
rel = *(int32_t*)(p);
|
||||
rip = p + sizeof(int32_t);
|
||||
__pioinfo = (ioinfo**)(rip + rel);
|
||||
|
|
Loading…
Add table
Reference in a new issue