diff options
Diffstat (limited to 'vm_debug.h')
-rw-r--r-- | vm_debug.h | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/vm_debug.h b/vm_debug.h index 424390fade..32e060732c 100644 --- a/vm_debug.h +++ b/vm_debug.h @@ -15,9 +15,7 @@ #include "ruby/ruby.h" #include "node.h" -#if defined __GNUC__ && __GNUC__ >= 4 -#pragma GCC visibility push(default) -#endif +RUBY_SYMBOL_EXPORT_BEGIN #define dpv(h,v) ruby_debug_print_value(-1, 0, (h), (v)) #define dp(v) ruby_debug_print_value(-1, 0, "", (v)) @@ -34,8 +32,6 @@ void ruby_debug_breakpoint(void); void ruby_debug_gc_check_func(void); void ruby_set_debug_option(const char *str); -#if defined __GNUC__ && __GNUC__ >= 4 -#pragma GCC visibility pop -#endif +RUBY_SYMBOL_EXPORT_END #endif /* RUBY_DEBUG_H */ |