summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 /* } */
-