diff options
author | 卜部昌平 <shyouhei@ruby-lang.org> | 2019-09-10 12:22:26 +0900 |
---|---|---|
committer | 卜部昌平 <shyouhei@ruby-lang.org> | 2019-09-10 12:25:36 +0900 |
commit | 20e428ec40ee1c83708b3ade6a0007ab2a435f83 (patch) | |
tree | 8b155d47ed40fafbc7dca4bd55739ab2e670193a /win32 | |
parent | 8d3db4f26cbbc920c717dfa2784a467014b954a6 (diff) | |
download | ruby-20e428ec40ee1c83708b3ade6a0007ab2a435f83.tar.gz |
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')
-rw-r--r-- | win32/Makefile.sub | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/win32/Makefile.sub b/win32/Makefile.sub index 13463d3d90..9b3cd4a391 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 |