aboutsummaryrefslogtreecommitdiffstats
path: root/win32
diff options
context:
space:
mode:
authorusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-09-16 10:47:54 +0000
committerusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-09-16 10:47:54 +0000
commite788b646615dde0cd6fdd2c25439118c4165c651 (patch)
tree765a90c081b5e568650ab6906711d9beba7b7a4c /win32
parent94a840083584aaafbfc2ca2eadebd0bbf8a92fe9 (diff)
downloadruby-e788b646615dde0cd6fdd2c25439118c4165c651.tar.gz
* 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
Diffstat (limited to 'win32')
-rw-r--r--win32/Makefile.sub2
1 files changed, 2 insertions, 0 deletions
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