diff options
Diffstat (limited to 'include/ruby/version.h')
-rw-r--r-- | include/ruby/version.h | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/include/ruby/version.h b/include/ruby/version.h index 9ecf6fe2a5..4ffcc7a9ad 100644 --- a/include/ruby/version.h +++ b/include/ruby/version.h @@ -43,9 +43,7 @@ extern "C" { #endif #endif -#if defined __GNUC__ && __GNUC__ >= 4 -#pragma GCC visibility push(default) -#endif +RUBY_SYMBOL_EXPORT_BEGIN /* * Interfaces from extension libraries. @@ -63,9 +61,7 @@ RUBY_EXTERN const char ruby_description[]; RUBY_EXTERN const char ruby_copyright[]; RUBY_EXTERN const char ruby_engine[]; -#if defined __GNUC__ && __GNUC__ >= 4 -#pragma GCC visibility pop -#endif +RUBY_SYMBOL_EXPORT_END #if defined(__cplusplus) #if 0 |