|
|
@ -159,9 +159,9 @@
|
|
|
|
#if defined(LUA_BUILD_AS_DLL)
|
|
|
|
#if defined(LUA_BUILD_AS_DLL)
|
|
|
|
#if defined(_MSC_VER)
|
|
|
|
#if defined(_MSC_VER)
|
|
|
|
#if defined(LUA_CORE) || defined(LUA_LIB)
|
|
|
|
#if defined(LUA_CORE) || defined(LUA_LIB)
|
|
|
|
#define LUA_API __declspec(dllexport) LUA_API_EXTERN
|
|
|
|
#define LUA_API LUA_API_EXTERN __declspec(dllexport)
|
|
|
|
#else
|
|
|
|
#else
|
|
|
|
#define LUA_API __declspec(dllimport) LUA_API_EXTERN
|
|
|
|
#define LUA_API LUA_API_EXTERN __declspec(dllimport)
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
#else
|
|
|
|
#else
|
|
|
|
#define LUA_API LUA_API_EXTERN __attribute__ ((visibility("default")))
|
|
|
|
#define LUA_API LUA_API_EXTERN __attribute__ ((visibility("default")))
|
|
|
|