Compillation faults on MSVC 2008 express.
There was one place with errors. It was function luacv_sighandler.
The errors was about some specific defenitions, such as LONG, LPEXCEPTION_POINTERS.
And the only change I made was line
#inculde \"windows.h\"
Like this
static lua_Debug luacv_debug;
static lua_State *luacv_globalstack;
#if defined(WIN32) || defined(WIN64)
#include \"Windows.h\" // inserted line for fix compillation
static LONG __stdcall luacv_sighandler(LPEXCEPTION_POINTERS exceptionPtrs)
{
#else
static void luacv_sighandler(int signum)
{
signum=signum;//to avoid warnings
#endif
lua_getinfo(luacv_globalstack,\"nS\",&luacv_debug);
char line[255];
char sep[255];