mirror of
https://github.com/brunoos/luasec.git
synced 2024-11-12 16:38:24 +01:00
15 lines
229 B
C
15 lines
229 B
C
|
#ifndef LSEC_CONFIG_H
|
||
|
#define LSEC_CONFIG_H
|
||
|
|
||
|
#if defined(_WIN32)
|
||
|
#define LSEC_API __declspec(dllexport)
|
||
|
#else
|
||
|
#define LSEC_API extern
|
||
|
#endif
|
||
|
|
||
|
#if (LUA_VERSION_NUM == 501)
|
||
|
#define lua_rawlen(L, i) lua_objlen(L, i)
|
||
|
#endif
|
||
|
|
||
|
#endif
|