diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2022-02-19 16:02:29 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2022-02-19 23:32:52 +0900 |
commit | 131154f878b7f63277bd97520500414047a814fa (patch) | |
tree | 86550107529a3a5357517b0679c37bc1cb6705ff /win32 | |
parent | 6e6ee1e6b3ce70a325043c502918c1eb9529b4a2 (diff) | |
download | ruby-131154f878b7f63277bd97520500414047a814fa.tar.gz |
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.
Diffstat (limited to 'win32')
-rw-r--r-- | win32/Makefile.sub | 1 |
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 |