mod_opal: disable visibility support broken in newer gcc (MODENDP-190)

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12923 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Michael Jerris 2009-04-06 20:26:37 +00:00
parent 02141e3048
commit b7d86e4b6b
1 changed files with 8 additions and 0 deletions

View File

@ -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