mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-03-03 17:30:37 +00:00
FS-5999: set visibility on lua symbols that are supposed to be exported
This commit is contained in:
parent
b65d2a9a78
commit
1f2b632aee
@ -150,7 +150,12 @@
|
|||||||
|
|
||||||
#else /* }{ */
|
#else /* }{ */
|
||||||
|
|
||||||
|
#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
|
#define LUA_API extern
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif /* } */
|
#endif /* } */
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user