summaryrefslogtreecommitdiff
path: root/win32/Makefile.sub
diff options
context:
space:
mode:
author卜部昌平 <shyouhei@ruby-lang.org>2019-09-10 12:22:26 +0900
committer卜部昌平 <shyouhei@ruby-lang.org>2019-09-10 12:25:36 +0900
commit20e428ec40ee1c83708b3ade6a0007ab2a435f83 (patch)
tree8b155d47ed40fafbc7dca4bd55739ab2e670193a /win32/Makefile.sub
parent8d3db4f26cbbc920c717dfa2784a467014b954a6 (diff)
fix CentOS 6 compile error
See also https://rubyci.org/logs/rubyci.s3.amazonaws.com/centos6/ruby-master/log/20190910T003005Z.fail.html.gz
Diffstat (limited to 'win32/Makefile.sub')
-rw-r--r--win32/Makefile.sub1
1 files changed, 1 insertions, 0 deletions
diff --git a/win32/Makefile.sub b/win32/Makefile.sub
index 13463d3..9b3cd4a 100644
--- a/win32/Makefile.sub
+++ b/win32/Makefile.sub
@@ -695,6 +695,7 @@ $(CONFIG_H): $(MKFILES) $(srcdir)/win32/Makefile.sub $(win_srcdir)/Makefile.sub
!if $(MSC_VER) >= 1300
#define DEPRECATED(x) __declspec(deprecated) x
#define DEPRECATED_TYPE(mesg, x) __declspec(deprecated mesg) x
+#define RUBY_CXX_DEPRECATED(mesg) __declspec(deprecated(mesg))
#define NOINLINE(x) __declspec(noinline) x
!endif
#define ALWAYS_INLINE(x) __forceinline x