aboutsummaryrefslogtreecommitdiff
path: root/luaconf.h
diff options
context:
space:
mode:
Diffstat (limited to 'luaconf.h')
-rw-r--r--luaconf.h12
1 files changed, 3 insertions, 9 deletions
diff --git a/luaconf.h b/luaconf.h
index 34c4c05e..e623e314 100644
--- a/luaconf.h
+++ b/luaconf.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: luaconf.h,v 1.58 2005/08/09 17:57:29 roberto Exp roberto $ 2** $Id: luaconf.h,v 1.59 2005/08/15 14:12:32 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*/
@@ -456,13 +456,6 @@
456 456
457 457
458/* 458/*
459@@ LUAI_MAXEXPWHILE is the maximum size of code for expressions
460@* controling a 'while' loop.
461*/
462#define LUAI_MAXEXPWHILE 100
463
464
465/*
466@@ LUAL_BUFFERSIZE is the buffer size used by the lauxlib buffer system. 459@@ LUAL_BUFFERSIZE is the buffer size used by the lauxlib buffer system.
467*/ 460*/
468#define LUAL_BUFFERSIZE BUFSIZ 461#define LUAL_BUFFERSIZE BUFSIZ
@@ -481,7 +474,8 @@
481*/ 474*/
482 475
483/* On a Pentium, resort to a trick */ 476/* On a Pentium, resort to a trick */
484#if !defined(LUA_ANSI) && (defined(__i386) || defined (_M_IX86)) 477#if !defined(LUA_ANSI) && !defined(__SSE2__) && \
478 (defined(__i386) || defined (_M_IX86))
485union luai_Cast { double l_d; long l_l; }; 479union luai_Cast { double l_d; long l_l; };
486#define lua_number2int(i,d) \ 480#define lua_number2int(i,d) \
487 { volatile union luai_Cast u; u.l_d = (d) + 6755399441055744.0; (i) = u.l_l; } 481 { volatile union luai_Cast u; u.l_d = (d) + 6755399441055744.0; (i) = u.l_l; }