ruby-changes:39236
From: nobu <ko1@a...>
Date: Tue, 21 Jul 2015 20:29:36 +0900 (JST)
Subject: [ruby-changes:39236] nobu:r51317 (trunk): Makefile.sub: UNREACHABLE
nobu 2015-07-21 20:29:12 +0900 (Tue, 21 Jul 2015) New Revision: 51317 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=51317 Log: Makefile.sub: UNREACHABLE * win32/Makefile.sub (config.h): define UNREACHABLE by __assume. Modified files: trunk/win32/Makefile.sub Index: win32/Makefile.sub =================================================================== --- win32/Makefile.sub (revision 51316) +++ win32/Makefile.sub (revision 51317) @@ -586,6 +586,7 @@ $(CONFIG_H): $(MKFILES) $(srcdir)/win32/ https://github.com/ruby/ruby/blob/trunk/win32/Makefile.sub#L586 #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 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/