From bff997e02b5b5f96d742be84c6e15f85aa728d29 Mon Sep 17 00:00:00 2001 From: nobu Date: Fri, 5 Apr 2013 10:29:38 +0000 Subject: 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 --- regint.h | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'regint.h') diff --git a/regint.h b/regint.h index 3b55d8e9f9..00d947a5b7 100644 --- a/regint.h +++ b/regint.h @@ -262,9 +262,7 @@ typedef unsigned int uintptr_t; #include "regenc.h" -#if defined __GNUC__ && __GNUC__ >= 4 -#pragma GCC visibility push(default) -#endif +RUBY_SYMBOL_EXPORT_BEGIN #ifdef MIN #undef MIN @@ -907,8 +905,6 @@ extern int onigenc_property_list_init P_((ONIGENC_INIT_PROPERTY_LIST_FUNC_TYPE)) extern size_t onig_memsize P_((const regex_t *reg)); extern size_t onig_region_memsize P_((const struct re_registers *regs)); -#if defined __GNUC__ && __GNUC__ >= 4 -#pragma GCC visibility pop -#endif +RUBY_SYMBOL_EXPORT_END #endif /* ONIGURUMA_REGINT_H */ -- cgit v1.2.1