1
0
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:
Michael Jerris 2014-02-04 16:09:08 -05:00
parent b65d2a9a78
commit 1f2b632aee

@ -150,7 +150,12 @@
#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
#endif
#endif
#endif /* } */