summaryrefslogtreecommitdiff
path: root/win32/Makefile.sub
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2022-02-19 16:02:29 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2022-02-19 23:32:52 +0900
commit131154f878b7f63277bd97520500414047a814fa (patch)
tree86550107529a3a5357517b0679c37bc1cb6705ff /win32/Makefile.sub
parent6e6ee1e6b3ce70a325043c502918c1eb9529b4a2 (diff)
Define `HAVE___BUILTIN_UNREACHABLE` instead of `UNREACHABLE`
`UNREACHABLE` in ruby/internal/has/builtin.h is only used as just a flag now, and redefined in ruby/backward/2/assume.h then.
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/5577
Diffstat (limited to 'win32/Makefile.sub')
-rw-r--r--win32/Makefile.sub1
1 files changed, 0 insertions, 1 deletions
diff --git a/win32/Makefile.sub b/win32/Makefile.sub
index a339061459..06d12099bb 100644
--- a/win32/Makefile.sub
+++ b/win32/Makefile.sub
@@ -702,7 +702,6 @@ $(CONFIG_H): $(MKFILES) $(srcdir)/win32/Makefile.sub $(win_srcdir)/Makefile.sub
#define ALWAYS_INLINE(x) __forceinline x
#define WARN_UNUSED_RESULT(x) x
#define MAYBE_UNUSED(x) x
-#define UNREACHABLE __assume(0)
#define ASSUME(x) __assume(!!(x))
#define FUNC_STDCALL(x) __stdcall x
#define FUNC_CDECL(x) __cdecl x