diff options
Diffstat (limited to 'transcode_data.h')
-rw-r--r-- | transcode_data.h | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/transcode_data.h b/transcode_data.h index dcaee61033..fcb05cc39f 100644 --- a/transcode_data.h +++ b/transcode_data.h @@ -14,9 +14,7 @@ #ifndef RUBY_TRANSCODE_DATA_H #define RUBY_TRANSCODE_DATA_H 1 -#if defined __GNUC__ && __GNUC__ >= 4 -#pragma GCC visibility push(default) -#endif +RUBY_SYMBOL_EXPORT_BEGIN #define WORDINDEX_SHIFT_BITS 2 #define WORDINDEX2INFO(widx) ((widx) << WORDINDEX_SHIFT_BITS) @@ -120,8 +118,6 @@ void rb_register_transcoder(const rb_transcoder *); # define TRANS_INIT(name) void Init_ ## name(void) #endif -#if defined __GNUC__ && __GNUC__ >= 4 -#pragma GCC visibility pop -#endif +RUBY_SYMBOL_EXPORT_END #endif /* RUBY_TRANSCODE_DATA_H */ |