diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-04-05 10:29:38 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-04-05 10:29:38 +0000 |
commit | bff997e02b5b5f96d742be84c6e15f85aa728d29 (patch) | |
tree | 9345ddb7f926663b3a0335de757fc67febf7059d /iseq.h | |
parent | 5f77f2345c03009d4172cea386ee52b0379f9fcf (diff) |
defines.h: RUBY_SYMBOL_EXPORT_{BEGIN,END}
* include/ruby/defines.h (RUBY_SYMBOL_EXPORT_{BEGIN,END}): visibility
control macros.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40122 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'iseq.h')
-rw-r--r-- | iseq.h | 8 |
1 files changed, 2 insertions, 6 deletions
@@ -12,9 +12,7 @@ #ifndef RUBY_COMPILE_H #define RUBY_COMPILE_H -#if defined __GNUC__ && __GNUC__ >= 4 -#pragma GCC visibility push(default) -#endif +RUBY_SYMBOL_EXPORT_BEGIN /* compile.c */ VALUE rb_iseq_compile_node(VALUE self, NODE *node); @@ -132,8 +130,6 @@ VALUE rb_iseq_defined_string(enum defined_type type); #define DEFAULT_SPECIAL_VAR_COUNT 2 -#if defined __GNUC__ && __GNUC__ >= 4 -#pragma GCC visibility pop -#endif +RUBY_SYMBOL_EXPORT_END #endif /* RUBY_COMPILE_H */ |