TimothyGu / libilbc

Packaged version of iLBC codec from the WebRTC project
BSD 3-Clause "New" or "Revised" License
64 stars 49 forks source link

typedefs.h for ppc/ppc64 #22

Closed xmw closed 6 years ago

xmw commented 7 years ago

--- libilbc-2.0.2/typedefs.h +++ libilbc-2.0.2/typedefs.h @@ -47,6 +47,13 @@

elif defined(pnacl)

define WEBRTC_ARCH_32_BITS

define WEBRTC_ARCH_LITTLE_ENDIAN

+#elif defined(PPC) +#define WEBRTC_ARCH_BIG_ENDIAN +#if defined(PPC64) +#define WEBRTC_ARCH_64_BITS +#else +#define WEBRTC_ARCH_32_BITS +#endif

else

error Please add support for your architecture in typedefs.h

endif