|
On 08/01/2010 20:46, Ignacio Burgueño wrote: ...No, leaving out the braces around "fld d" won't work.Sorry for the noise, but this is better: #define lua_number2int(i,d) {__asm fld d __asm fistp i} Regards, Ignacio
I had the same Problem with Visual Studio 2008 your fix works perfectly. Thanks!
Also the definition for lua_number2uint is missing under #if defined(_MSC_VER)
Best Regards, Michael