diff options
| author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2012-10-01 11:14:45 -0300 |
|---|---|---|
| committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2012-10-01 11:14:45 -0300 |
| commit | 31f7d553e413385143edc8f253a5db5fb5462e07 (patch) | |
| tree | 4d63d4446756d0937a42845441c125112a6ce12b /luaconf.h | |
| parent | adaba04059ddec1c7c55dab16981f3ae2f0c3279 (diff) | |
| download | lua-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.h | 9 |
1 files changed, 4 insertions, 5 deletions
| @@ -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 | ||
