提交 31897028 authored 作者: Michael Jerris's avatar Michael Jerris

mod_lua: fix visibility support (FSCORE-302)

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12240 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 e4b42887
...@@ -161,7 +161,8 @@ ...@@ -161,7 +161,8 @@
#else #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"))) #define LUA_API __attribute__((visibility("default")))
#else #else
#define LUA_API extern #define LUA_API extern
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论