aboutsummaryrefslogtreecommitdiff
path: root/luaconf.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2012-10-01 11:14:45 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2012-10-01 11:14:45 -0300
commit31f7d553e413385143edc8f253a5db5fb5462e07 (patch)
tree4d63d4446756d0937a42845441c125112a6ce12b /luaconf.h
parentadaba04059ddec1c7c55dab16981f3ae2f0c3279 (diff)
downloadlua-31f7d553e413385143edc8f253a5db5fb5462e07.tar.gz
lua-31f7d553e413385143edc8f253a5db5fb5462e07.tar.bz2
lua-31f7d553e413385143edc8f253a5db5fb5462e07.zip
LUA_CORE condition removed from definition of some 'tricks' (as it
controlled only a few other defines) + MS_ASMTRICK renamed to LUA_MSASMTRICK
Diffstat (limited to 'luaconf.h')
-rw-r--r--luaconf.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/luaconf.h b/luaconf.h
index f004c985..d6f58ab2 100644
--- a/luaconf.h
+++ b/luaconf.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: luaconf.h,v 1.172 2012/05/11 14:14:42 roberto Exp roberto $ 2** $Id: luaconf.h,v 1.173 2012/07/13 14:54:14 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*/
@@ -465,13 +465,12 @@
465** Some tricks with doubles 465** Some tricks with doubles
466*/ 466*/
467 467
468#if defined(LUA_CORE) && \ 468#if defined(LUA_NUMBER_DOUBLE) && !defined(LUA_ANSI) /* { */
469 defined(LUA_NUMBER_DOUBLE) && !defined(LUA_ANSI) /* { */
470/* 469/*
471** The next definitions activate some tricks to speed up the 470** The next definitions activate some tricks to speed up the
472** conversion from doubles to integer types, mainly to LUA_UNSIGNED. 471** conversion from doubles to integer types, mainly to LUA_UNSIGNED.
473** 472**
474@@ MS_ASMTRICK uses Microsoft assembler to avoid clashes with a 473@@ LUA_MSASMTRICK uses Microsoft assembler to avoid clashes with a
475** DirectX idiosyncrasy. 474** DirectX idiosyncrasy.
476** 475**
477@@ LUA_IEEE754TRICK uses a trick that should work on any machine 476@@ LUA_IEEE754TRICK uses a trick that should work on any machine
@@ -495,7 +494,7 @@
495/* Microsoft compiler on a Pentium (32 bit) ? */ 494/* Microsoft compiler on a Pentium (32 bit) ? */
496#if defined(LUA_WIN) && defined(_MSC_VER) && defined(_M_IX86) /* { */ 495#if defined(LUA_WIN) && defined(_MSC_VER) && defined(_M_IX86) /* { */
497 496
498#define MS_ASMTRICK 497#define LUA_MSASMTRICK
499#define LUA_IEEEENDIAN 0 498#define LUA_IEEEENDIAN 0
500#define LUA_NANTRICK 499#define LUA_NANTRICK
501 500