[Freeswitch-svn] [commit] r12239 - freeswitch/trunk/src/mod/languages/mod_lua/lua
FreeSWITCH SVN
mikej at freeswitch.org
Sun Feb 22 20:42:11 PST 2009
Author: mikej
Date: Sun Feb 22 22:42:10 2009
New Revision: 12239
Log:
mod_lua: fix visibility support (FSCORE-302)
Modified:
freeswitch/trunk/src/mod/languages/mod_lua/lua/luaconf.h
Modified: freeswitch/trunk/src/mod/languages/mod_lua/lua/luaconf.h
==============================================================================
--- freeswitch/trunk/src/mod/languages/mod_lua/lua/luaconf.h (original)
+++ freeswitch/trunk/src/mod/languages/mod_lua/lua/luaconf.h Sun Feb 22 22:42:10 2009
@@ -161,8 +161,11 @@
#else
+#if (defined(__GNUC__) || defined(__SUNPRO_CC) || defined (__SUNPRO_C)) && defined(HAVE_VISIBILITY)
+#define LUA_API __attribute__((visibility("default")))
+#else
#define LUA_API extern
-
+#endif
#endif
/* more often than not the libs go together with the core */
More information about the Freeswitch-svn
mailing list