mirror of
https://github.com/lua/lua
synced 2024-11-30 08:33:16 +03:00
added another option for ieeeendian
This commit is contained in:
parent
4834de8427
commit
b9f371a3c2
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
** $Id: luaconf.h,v 1.145 2010/10/27 17:16:37 roberto Exp roberto $
|
** $Id: luaconf.h,v 1.146 2010/10/28 15:18:25 roberto Exp roberto $
|
||||||
** Configuration file for Lua
|
** Configuration file for Lua
|
||||||
** See Copyright Notice in lua.h
|
** See Copyright Notice in lua.h
|
||||||
*/
|
*/
|
||||||
@ -481,7 +481,7 @@ union luai_Cast { double l_d; LUA_INT32 l_p[2]; };
|
|||||||
#if defined(__i386__) || defined(__i386) || defined(i386) || \
|
#if defined(__i386__) || defined(__i386) || defined(i386) || \
|
||||||
defined (__x86_64)
|
defined (__x86_64)
|
||||||
#define LUA_IEEEENDIAN 0
|
#define LUA_IEEEENDIAN 0
|
||||||
#elif defined(__POWERPC__)
|
#elif defined(__POWERPC__) || defined(__ppc__)
|
||||||
#define LUA_IEEEENDIAN 1
|
#define LUA_IEEEENDIAN 1
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user