diff options
Diffstat (limited to 'luaconf.h')
-rw-r--r-- | luaconf.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: luaconf.h,v 1.78 2006/01/13 19:36:28 roberto Exp roberto $ | 2 | ** $Id: luaconf.h,v 1.79 2006/01/23 19:51:43 roberto Exp roberto $ |
3 | ** Configuration file for Lua | 3 | ** Configuration file for Lua |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -541,7 +541,7 @@ | |||
541 | */ | 541 | */ |
542 | 542 | ||
543 | /* On a Pentium, resort to a trick */ | 543 | /* On a Pentium, resort to a trick */ |
544 | #if !defined(LUA_ANSI) && !defined(__SSE2__) && \ | 544 | #if defined(LUA_NUMBER_DOUBLE) && !defined(LUA_ANSI) && !defined(__SSE2__) && \ |
545 | (defined(__i386) || defined (_M_IX86) || defined(__i386__)) | 545 | (defined(__i386) || defined (_M_IX86) || defined(__i386__)) |
546 | union luai_Cast { double l_d; long l_l; }; | 546 | union luai_Cast { double l_d; long l_l; }; |
547 | #define lua_number2int(i,d) \ | 547 | #define lua_number2int(i,d) \ |