diff options
author | Andreas Baumann <mail@andreasbaumann.cc> | 2014-10-08 15:39:00 +0200 |
---|---|---|
committer | Andreas Baumann <mail@andreasbaumann.cc> | 2014-10-08 15:39:00 +0200 |
commit | 0b58dfebe6070ace895fdc3970020b2d01799269 (patch) | |
tree | fb996026d43655afe8da3ba51de7f7274f38039f /lua | |
parent | 7280e10e8bfa507953d8c823abd502db98c514fa (diff) | |
download | crawler-0b58dfebe6070ace895fdc3970020b2d01799269.tar.gz crawler-0b58dfebe6070ace895fdc3970020b2d01799269.tar.bz2 |
compilation fix lua (how did it ever work!)
Diffstat (limited to 'lua')
-rw-r--r-- | lua/src/luaconf.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lua/src/luaconf.h b/lua/src/luaconf.h index 3f650d6..f876db7 100644 --- a/lua/src/luaconf.h +++ b/lua/src/luaconf.h @@ -142,11 +142,15 @@ */ #if defined(LUA_BUILD_AS_DLL) || defined(SHARED) /* { */ +#ifdef _WIN32 #if defined(LUA_CORE) || defined(LUA_LIB) /* { */ #define LUA_API __declspec(dllexport) #else /* }{ */ #define LUA_API __declspec(dllimport) #endif /* } */ +#else +#define LUA_API extern +#endif #else /* }{ */ |