diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2011-10-07 16:53:05 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2011-10-07 16:53:05 -0300 |
commit | 9bbfe9f3fde5225bfa441f9d26b84544cc6c9b6d (patch) | |
tree | 44f08903eb32a86e257b6c590fbc64f1d6aad901 | |
parent | 788a0ecd27f1841ff572ba3950a12235aec1f551 (diff) | |
download | lua-9bbfe9f3fde5225bfa441f9d26b84544cc6c9b6d.tar.gz lua-9bbfe9f3fde5225bfa441f9d26b84544cc6c9b6d.tar.bz2 lua-9bbfe9f3fde5225bfa441f9d26b84544cc6c9b6d.zip |
avoid the word 'TRICKLE' in macro name (as it has nothing to do
with its meaning)
-rw-r--r-- | luaconf.h | 17 |
1 files changed, 9 insertions, 8 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: luaconf.h,v 1.162 2011/07/25 17:20:47 roberto Exp roberto $ | 2 | ** $Id: luaconf.h,v 1.163 2011/08/23 17:25:42 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 | */ |
@@ -492,12 +492,13 @@ | |||
492 | 492 | ||
493 | 493 | ||
494 | /* | 494 | /* |
495 | @@ LUA_NANTRICKLE/LUA_NANTRICKBE controls the use of a trick to pack all | 495 | @@ LUA_NANTRICK_LE/LUA_NANTRICK_BE controls the use of a trick to |
496 | ** types into a single double value, using NaN values to represent | 496 | ** pack all types into a single double value, using NaN values to |
497 | ** non-number values. The trick only works on 32-bit machines (ints and | 497 | ** represent non-number values. The trick only works on 32-bit machines |
498 | ** pointers are 32-bit values) with numbers represented as IEEE 754-2008 | 498 | ** (ints and pointers are 32-bit values) with numbers represented as |
499 | ** doubles with conventional endianess (12345678 or 87654321), in CPUs | 499 | ** IEEE 754-2008 doubles with conventional endianess (12345678 or |
500 | ** that do not produce signaling NaN values (all NaNs are quiet). | 500 | ** 87654321), in CPUs that do not produce signaling NaN values (all NaNs |
501 | ** are quiet). | ||
501 | */ | 502 | */ |
502 | #if defined(LUA_CORE) && \ | 503 | #if defined(LUA_CORE) && \ |
503 | defined(LUA_NUMBER_DOUBLE) && !defined(LUA_ANSI) /* { */ | 504 | defined(LUA_NUMBER_DOUBLE) && !defined(LUA_ANSI) /* { */ |
@@ -506,7 +507,7 @@ | |||
506 | #if defined(__i386__) || defined(__i386) || defined(__X86__) || \ | 507 | #if defined(__i386__) || defined(__i386) || defined(__X86__) || \ |
507 | defined(_M_IX86) | 508 | defined(_M_IX86) |
508 | 509 | ||
509 | #define LUA_NANTRICKLE | 510 | #define LUA_NANTRICK_LE |
510 | 511 | ||
511 | #endif | 512 | #endif |
512 | 513 | ||