mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-03-13 20:50:41 +00:00
mod_lua: fix visibility support (FSCORE-302)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12240 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
e4b4288719
commit
31897028d2
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user