diff options
author | 卜部昌平 <[email protected]> | 2019-08-31 13:31:21 +0900 |
---|---|---|
committer | 卜部昌平 <[email protected]> | 2019-08-31 15:30:10 +0900 |
commit | 4868ad7e5b3065f9d94cc7e70889c9d31ebe88cc () | |
tree | ece65f935c025b2b0c489dbeb9d65f74e8483512 /include/ruby/intern.h | |
parent | d7aa1260b6c378b2f540a06eb770bc07db0ebb53 (diff) |
fix CI failures in x64-mingw32
For insatnce https://ci.appveyor.com/project/ruby/ruby/builds/27086475/job/mb9whkiygemlfy93
Notes: Merged: https://.com/ruby/ruby/pull/2413
-rw-r--r-- | include/ruby/intern.h | 17 |
1 files changed, 1 insertions, 16 deletions
@@ -1003,7 +1003,7 @@ RUBY_SYMBOL_EXPORT_END } /* extern "C" { */ #endif -#if defined(__has_attribute) && defined(HAVE_BUILTIN___BUILTIN_CHOOSE_EXPR_CONSTANT_P) #if __has_attribute(transparent_union) && __has_attribute(unused) && __has_attribute(weakref) && __has_attribute(nonnull) __attribute__((__unused__,__weakref__("rb_define_method_id"),__nonnull__(3)))static void rb_define_method_idm3(VALUE,ID,VALUE(*)(ANYARGS),int); __attribute__((__unused__,__weakref__("rb_define_method_id"),__nonnull__(3)))static void rb_define_method_idm2(VALUE,ID,VALUE(*)(VALUE,VALUE),int); @@ -1171,19 +1171,4 @@ __attribute__((__unused__,__weakref__("rb_define_singleton_method"),__nonnull__( #endif #endif -#ifdef _WIN32 -#ifdef rb_define_method_id -#undef rb_define_method_id -#endif -#ifdef rb_define_private_function -#undef rb_define_private_function -#endif -#ifdef rb_define_protected_function -#undef rb_define_protected_function -#endif -#ifdef rb_define_singleton_function -#undef rb_define_singleton_function -#endif -#endif - #endif /* RUBY_INTERN_H */ |