diff options
Diffstat (limited to 'include/ruby/re.h')
-rw-r--r-- | include/ruby/re.h | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/include/ruby/re.h b/include/ruby/re.h index 4039ba1800..41b3e492f8 100644 --- a/include/ruby/re.h +++ b/include/ruby/re.h @@ -24,9 +24,7 @@ extern "C" { #include "ruby/regex.h" -#if defined __GNUC__ && __GNUC__ >= 4 -#pragma GCC visibility push(default) -#endif +RUBY_SYMBOL_EXPORT_BEGIN typedef struct re_pattern_buffer Regexp; @@ -61,9 +59,7 @@ void rb_match_busy(VALUE); VALUE rb_reg_quote(VALUE); regex_t *rb_reg_prepare_re(VALUE re, VALUE str); -#if defined __GNUC__ && __GNUC__ >= 4 -#pragma GCC visibility pop -#endif +RUBY_SYMBOL_EXPORT_END #if defined(__cplusplus) #if 0 |