diff options
| -rw-r--r-- | luaconf.h | 6 |
1 files changed, 5 insertions, 1 deletions
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | ** $Id: luaconf.h,v 1.143 2010/09/07 19:21:39 roberto Exp roberto $ | 2 | ** $Id: luaconf.h,v 1.144 2010/10/26 19:32:19 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 | */ |
| @@ -477,6 +477,10 @@ union luai_Cast { double l_d; LUA_INT32 l_p[2]; }; | |||
| 477 | @@ (0 for little endian, 1 for big endian); if not defined, Lua will | 477 | @@ (0 for little endian, 1 for big endian); if not defined, Lua will |
| 478 | @@ check it dynamically. | 478 | @@ check it dynamically. |
| 479 | */ | 479 | */ |
| 480 | /* check for known architectures */ | ||
| 481 | #if defined(__i386__) || defined(__i386) || defined(i386) | ||
| 482 | #define LUA_IEEEENDIAN 0 | ||
| 483 | #endif | ||
| 480 | 484 | ||
| 481 | #if !defined(LUA_IEEEENDIAN) /* { */ | 485 | #if !defined(LUA_IEEEENDIAN) /* { */ |
| 482 | #define LUAI_EXTRAIEEE \ | 486 | #define LUAI_EXTRAIEEE \ |
