]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
mod_opal: disable visibility support broken in newer gcc (MODENDP-190)
authorMichael Jerris <mike@jerris.com>
Mon, 6 Apr 2009 20:26:37 +0000 (20:26 +0000)
committerMichael Jerris <mike@jerris.com>
Mon, 6 Apr 2009 20:26:37 +0000 (20:26 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12923 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/mod/endpoints/mod_opal/mod_opal.h

index 4e576a67ef4bbf52fb629dc6cfcbf0caa5311757..c2cf2c630ca7bf6dab1f596452e4c89ed3be838a 100644 (file)
 #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