From e9cb9d1060186410ff33b4ef90d868f574085fe3 Mon Sep 17 00:00:00 2001 From: nobu Date: Tue, 21 Jul 2015 11:29:12 +0000 Subject: Makefile.sub: UNREACHABLE * win32/Makefile.sub (config.h): define UNREACHABLE by __assume. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51317 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- win32/Makefile.sub | 1 + 1 file changed, 1 insertion(+) (limited to 'win32') diff --git a/win32/Makefile.sub b/win32/Makefile.sub index e2d9d6159f..e07ed93b60 100644 --- a/win32/Makefile.sub +++ b/win32/Makefile.sub @@ -586,6 +586,7 @@ $(CONFIG_H): $(MKFILES) $(srcdir)/win32/Makefile.sub $(win_srcdir)/Makefile.sub #define DEPRECATED(x) __declspec(deprecated) x #define NOINLINE(x) __declspec(noinline) x !endif +#define UNREACHABLE __assume(0) #define FUNC_STDCALL(x) __stdcall x #define FUNC_CDECL(x) __cdecl x #define FUNC_FASTCALL(x) __fastcall x -- cgit v1.2.3