diff options
author | kazu <kazu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-07-14 15:09:23 +0000 |
---|---|---|
committer | kazu <kazu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-07-14 15:09:23 +0000 |
commit | 50ae75064639807c8620f3afebc7cc32274b1f4c (patch) | |
tree | 6494556ece9d3f36c7356b6fcd45fee4fdbda268 /gc.c | |
parent | 0641e1fc0e543a8ee6ee23c36c98f03659b5ba8c (diff) | |
download | ruby-50ae75064639807c8620f3afebc7cc32274b1f4c.tar.gz |
use _Static_assert with clang
* gc.c (__has_feature): move into internal.h.
* internal.h (__has_feature): ditto.
* internal.h (__has_extension): new macro.
* internal.h (STATIC_ASSERT): use _Static_assert with
clang. [ruby-core:69931] [Bug #11343]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51242 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'gc.c')
-rw-r--r-- | gc.c | 4 |
1 files changed, 0 insertions, 4 deletions
@@ -35,10 +35,6 @@ #undef rb_data_object_wrap -#ifndef __has_feature -# define __has_feature(x) 0 -#endif - #ifndef HAVE_MALLOC_USABLE_SIZE # ifdef _WIN32 # define HAVE_MALLOC_USABLE_SIZE |