[commit] r12239 - freeswitch/trunk/src/mod/languages/mod_lua/lua
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 */
participants (1)
-
FreeSWITCH SVN