mod_lua: fix visibility support (FSCORE-302)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12239 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
be679717ba
commit
e4b4288719
|
@ -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 */
|
||||
|
|
Loading…
Reference in New Issue