mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* 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
This commit is contained in:
parent
2fc5210f31
commit
a334693422
2 changed files with 7 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
Fri Sep 16 19:46:05 2016 NAKAMURA Usaku <usa@ruby-lang.org>
|
||||||
|
|
||||||
|
* win32/Makefile.sub (config.h): fixed compile error with VC introduced
|
||||||
|
by previous commit.
|
||||||
|
|
||||||
Fri Sep 16 14:54:34 2016 URABE Shyouhei <shyouhei@ruby-lang.org>
|
Fri Sep 16 14:54:34 2016 URABE Shyouhei <shyouhei@ruby-lang.org>
|
||||||
|
|
||||||
* internal.h (WARN_UNUSED_RESULT): moved to configure.in, to
|
* internal.h (WARN_UNUSED_RESULT): moved to configure.in, to
|
||||||
|
|
|
@ -604,6 +604,8 @@ $(CONFIG_H): $(MKFILES) $(srcdir)/win32/Makefile.sub $(win_srcdir)/Makefile.sub
|
||||||
#define NOINLINE(x) __declspec(noinline) x
|
#define NOINLINE(x) __declspec(noinline) x
|
||||||
!endif
|
!endif
|
||||||
#define ALWAYS_INLINE(x) __forceinline x
|
#define ALWAYS_INLINE(x) __forceinline x
|
||||||
|
#define WARN_UNUSED_RESULT(x) x
|
||||||
|
#define MAYBE_UNUSED(x) x
|
||||||
#define UNREACHABLE __assume(0)
|
#define UNREACHABLE __assume(0)
|
||||||
#define ASSUME(x) __assume(!!(x))
|
#define ASSUME(x) __assume(!!(x))
|
||||||
#define FUNC_STDCALL(x) __stdcall x
|
#define FUNC_STDCALL(x) __stdcall x
|
||||||
|
|
Loading…
Reference in a new issue