Petr Mrázek 2012-03-24 17:09:11 +01:00
commit fc4a72bbf3
1 changed files with 2 additions and 2 deletions

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