diff options
Diffstat (limited to 'include/ruby/debug.h')
-rw-r--r-- | include/ruby/debug.h | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/include/ruby/debug.h b/include/ruby/debug.h index 4ef45a8327..67e15a8d2f 100644 --- a/include/ruby/debug.h +++ b/include/ruby/debug.h @@ -19,9 +19,7 @@ extern "C" { #endif #endif -#if defined __GNUC__ && __GNUC__ >= 4 -#pragma GCC visibility push(default) -#endif +RUBY_SYMBOL_EXPORT_BEGIN /* Note: This file contains experimental APIs. */ /* APIs can be replaced at Ruby 2.0.1 or later */ @@ -79,9 +77,7 @@ typedef enum { void rb_add_event_hook2(rb_event_hook_func_t func, rb_event_flag_t events, VALUE data, rb_event_hook_flag_t hook_flag); void rb_thread_add_event_hook2(VALUE thval, rb_event_hook_func_t func, rb_event_flag_t events, VALUE data, rb_event_hook_flag_t hook_flag); -#if defined __GNUC__ && __GNUC__ >= 4 -#pragma GCC visibility pop -#endif +RUBY_SYMBOL_EXPORT_END #if defined(__cplusplus) #if 0 |