diff options
Diffstat (limited to 'include/ruby/intern.h')
-rw-r--r-- | include/ruby/intern.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/ruby/intern.h b/include/ruby/intern.h index b6e9cd98e6..b9471a7097 100644 --- a/include/ruby/intern.h +++ b/include/ruby/intern.h @@ -21,6 +21,10 @@ extern "C" { #endif #endif +#if !defined(__has_attribute) +#define __has_attribute(x) 0 +#endif + #include "ruby/defines.h" #ifdef RUBY_EXTCONF_H #include RUBY_EXTCONF_H |