[Freeswitch-svn] [commit] r12240 - freeswitch/trunk/src/mod/languages/mod_lua/lua
FreeSWITCH SVN
mikej at freeswitch.org
Sun Feb 22 20:43:43 PST 2009
Author: mikej
Date: Sun Feb 22 22:43:42 2009
New Revision: 12240
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:43:42 2009
@@ -161,7 +161,8 @@
#else
-#if (defined(__GNUC__) || defined(__SUNPRO_CC) || defined (__SUNPRO_C)) && defined(HAVE_VISIBILITY)
+#if (defined(__GNUC__) || defined(__SUNPRO_CC) || defined (__SUNPRO_C)) && defined(HAVE_VISIBILITY) && (defined(LUA_CORE) || defined(LUA_LIB)
+)
#define LUA_API __attribute__((visibility("default")))
#else
#define LUA_API extern
More information about the Freeswitch-svn
mailing list