Pārlūkot izejas kodu

added another option for ieeeendian

Roberto Ierusalimschy 14 gadi atpakaļ
vecāks
revīzija
b9f371a3c2
1 mainītis faili ar 2 papildinājumiem un 2 dzēšanām
  1. 2 2
      luaconf.h

+ 2 - 2
luaconf.h

@@ -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