diff options
author | Yuta Saito <kateinoigakukun@gmail.com> | 2022-01-19 16:40:06 +0900 |
---|---|---|
committer | Yuta Saito <kateinoigakukun@gmail.com> | 2022-01-19 17:52:19 +0900 |
commit | 528344b8de6c89de7bcd0e77cb386f7881d85e03 (patch) | |
tree | e283e9d17f24b503400429513d6debe4ae4dde07 /test/ruby/test_fiber.rb | |
parent | 0dd8c6157d4ef3e3584b5f87f4af82e3d56339e8 (diff) |
include/ruby/win32.h: explicitly define HAVE_SHUTDOWN
Configuration for mingw32 can't detect 'shutdown' due to wrong -l
option even though it's available (this has been going on for a while,
and it needs to be fixed).
In this situation, include/ruby/missing.h declares a stub shutdown
function since 7ee786388a, and another shutdown decl is came from
system header. They are incompatible at stdcall attribute, so it
causes compilation failure.
This change defines a HAVE_SHUTDOWN to guard a newly introduced stub
decl in include/ruby/missing.h
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/5465
Diffstat (limited to 'test/ruby/test_fiber.rb')
0 files changed, 0 insertions, 0 deletions