lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


I use Borland and added the following to luaconf.h


#elif !defined(__STRICT_ANSI__) && defined(__BORLANDC__) && defined(_M_IX86)
#define lua_number2int(i,d) __asm { \
    fld d; \
    fistp i; \
  }


Seems to work fine...  (It didn't solve my performance hit though.)

--
Wim