summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2011-07-08 17:07:11 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2011-07-08 17:07:11 -0300
commit7978a8d8b22b9f9d0e3d5689910be7fb3a4a02fc (patch)
tree693c99a5816aa49a8e03ed4e21f7df0e9e816183
parent32e09c2a16fc57a7b598c48249b60f2ae1dd1a7a (diff)
downloadlua-github-7978a8d8b22b9f9d0e3d5689910be7fb3a4a02fc.tar.gz
added '_M_IX86' in NaN trickv5.2-betav5-2-beta
-rw-r--r--luaconf.h12
1 files changed, 5 insertions, 7 deletions
diff --git a/luaconf.h b/luaconf.h
index f199cde6..389edf33 100644
--- a/luaconf.h
+++ b/luaconf.h
@@ -1,5 +1,5 @@
/*
-** $Id: luaconf.h,v 1.159 2011/06/13 14:13:06 roberto Exp roberto $
+** $Id: luaconf.h,v 1.160 2011/06/28 17:14:12 roberto Exp roberto $
** Configuration file for Lua
** See Copyright Notice in lua.h
*/
@@ -499,12 +499,12 @@
** doubles with conventional endianess (12345678 or 87654321), in CPUs
** that do not produce signaling NaN values (all NaNs are quiet).
*/
-#if defined(LUA_CORE) /* { */
-
-#if defined(LUA_NUMBER_DOUBLE) && !defined(LUA_ANSI) /* { */
+#if defined(LUA_CORE) && \
+ defined(LUA_NUMBER_DOUBLE) && !defined(LUA_ANSI) /* { */
/* little-endian architectures that satisfy those conditions */
-#if defined(__i386__) || defined(__i386) || defined(__X86__)
+#if defined(__i386__) || defined(__i386) || defined(__X86__) || \
+ defined(_M_IX86)
#define LUA_NANTRICKLE
@@ -512,8 +512,6 @@
#endif /* } */
-#endif /* } */
-