mirror of https://github.com/lua/lua
added '_M_IX86' in NaN trick
This commit is contained in:
parent
32e09c2a16
commit
7978a8d8b2
12
luaconf.h
12
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 /* } */
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue