[commit] r12923 - freeswitch/trunk/src/mod/endpoints/mod_opal
Author: mikej Date: Mon Apr 6 15:26:37 2009 New Revision: 12923 Log: mod_opal: disable visibility support broken in newer gcc (MODENDP-190) Modified: freeswitch/trunk/src/mod/endpoints/mod_opal/mod_opal.h Modified: freeswitch/trunk/src/mod/endpoints/mod_opal/mod_opal.h ============================================================================== --- freeswitch/trunk/src/mod/endpoints/mod_opal/mod_opal.h (original) +++ freeswitch/trunk/src/mod/endpoints/mod_opal/mod_opal.h Mon Apr 6 15:26:37 2009 @@ -26,12 +26,20 @@ #ifndef __FREESWITCH_MOD_OPAL__ #define __FREESWITCH_MOD_OPAL__ +#if defined(__GNUC__) && defined(HAVE_VISIBILITY) +#pragma GCC visibility push(default) +#endif + #include <ptlib.h> #include <opal/manager.h> #include <opal/localep.h> #include <h323/h323ep.h> #include <iax2/iax2ep.h> +#if defined(__GNUC__) && defined(HAVE_VISIBILITY) +#pragma GCC visibility pop +#endif + #undef strcasecmp #undef strncasecmp
participants (1)
-
FreeSWITCH SVN