luasec/src/config.h

21 lines
446 B
C
Raw Normal View History

2014-01-29 21:43:33 +01:00
/*--------------------------------------------------------------------------
* LuaSec 0.5
* Copyright (C) 2006-2014 Bruno Silvestre
*
*--------------------------------------------------------------------------*/
2013-03-30 13:21:40 +01:00
#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