aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2010-10-29 09:13:21 -0200
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2010-10-29 09:13:21 -0200
commitb9f371a3c2e6da297d7d6de581519c92d4e38e2f (patch)
tree3fc89061aa36e53ffb5ea017b1a2c8c320459c00
parent4834de84274350268a5b6d81070fee919896fed3 (diff)
downloadlua-b9f371a3c2e6da297d7d6de581519c92d4e38e2f.tar.gz
lua-b9f371a3c2e6da297d7d6de581519c92d4e38e2f.tar.bz2
lua-b9f371a3c2e6da297d7d6de581519c92d4e38e2f.zip
added another option for ieeeendian
-rw-r--r--luaconf.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/luaconf.h b/luaconf.h
index dccdc25f..46c3a281 100644
--- a/luaconf.h
+++ b/luaconf.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: luaconf.h,v 1.145 2010/10/27 17:16:37 roberto Exp roberto $ 2** $Id: luaconf.h,v 1.146 2010/10/28 15:18:25 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*/
@@ -481,7 +481,7 @@ union luai_Cast { double l_d; LUA_INT32 l_p[2]; };
481#if defined(__i386__) || defined(__i386) || defined(i386) || \ 481#if defined(__i386__) || defined(__i386) || defined(i386) || \
482 defined (__x86_64) 482 defined (__x86_64)
483#define LUA_IEEEENDIAN 0 483#define LUA_IEEEENDIAN 0
484#elif defined(__POWERPC__) 484#elif defined(__POWERPC__) || defined(__ppc__)
485#define LUA_IEEEENDIAN 1 485#define LUA_IEEEENDIAN 1
486#endif 486#endif
487 487