Index: libEMF-1.0.7/include/libEMF/wine/winnt.h =================================================================== --- libEMF-1.0.7.orig/include/libEMF/wine/winnt.h +++ libEMF-1.0.7/include/libEMF/wine/winnt.h @@ -50,8 +50,13 @@ # define BITFIELDS_BIGENDIAN # undef ALLOW_UNALIGNED_ACCESS #elif defined(__PPC__) -# define WORDS_BIGENDIAN -# define BITFIELDS_BIGENDIAN +# ifdef __LITTLE_ENDIAN__ +# undef WORDS_BIGENDIAN +# undef BITFIELDS_BIGENDIAN +# else +# define WORDS_BIGENDIAN +# define BITFIELDS_BIGENDIAN +# endif # undef ALLOW_UNALIGNED_ACCESS #elif defined(__s390__) # define WORDS_BIGENDIAN