diff options
Diffstat (limited to 'include/ruby/io.h')
-rw-r--r-- | include/ruby/io.h | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/include/ruby/io.h b/include/ruby/io.h index b5ea2e9c95..bcdee3b0c0 100644 --- a/include/ruby/io.h +++ b/include/ruby/io.h @@ -49,9 +49,7 @@ extern "C" { # define RB_WAITFD_OUT 0x004 #endif -#if defined __GNUC__ && __GNUC__ >= 4 -#pragma GCC visibility push(default) -#endif +RUBY_SYMBOL_EXPORT_BEGIN typedef struct { char *ptr; /* off + len <= capa */ @@ -199,9 +197,7 @@ void rb_io_read_check(rb_io_t*); int rb_io_read_pending(rb_io_t*); DEPRECATED(void rb_read_check(FILE*)); -#if defined __GNUC__ && __GNUC__ >= 4 -#pragma GCC visibility pop -#endif +RUBY_SYMBOL_EXPORT_END #if defined(__cplusplus) #if 0 |