From a334693422650c58d08c6098ca3ea0760713a314 Mon Sep 17 00:00:00 2001 From: usa Date: Fri, 16 Sep 2016 10:47:54 +0000 Subject: * win32/Makefile.sub (config.h): fixed compile error with VC introduced by previous commit. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56170 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 5 +++++ win32/Makefile.sub | 2 ++ 2 files changed, 7 insertions(+) diff --git a/ChangeLog b/ChangeLog index 8eeefbd34e..601d1ffb32 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Fri Sep 16 19:46:05 2016 NAKAMURA Usaku + + * win32/Makefile.sub (config.h): fixed compile error with VC introduced + by previous commit. + Fri Sep 16 14:54:34 2016 URABE Shyouhei * internal.h (WARN_UNUSED_RESULT): moved to configure.in, to diff --git a/win32/Makefile.sub b/win32/Makefile.sub index e3fae91c65..dc198f63d2 100644 --- a/win32/Makefile.sub +++ b/win32/Makefile.sub @@ -604,6 +604,8 @@ $(CONFIG_H): $(MKFILES) $(srcdir)/win32/Makefile.sub $(win_srcdir)/Makefile.sub #define NOINLINE(x) __declspec(noinline) x !endif #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 -- cgit v1.2.3