Files

48 lines
1.2 KiB
Diff

--- include/libEMF/wine/winnt.h-orig 2015-11-21 15:27:55.000000000 +0100
+++ include/libEMF/wine/winnt.h 2016-04-23 10:39:35.000000000 +0200
@@ -49,7 +49,7 @@
# define WORDS_BIGENDIAN
# define BITFIELDS_BIGENDIAN
# undef ALLOW_UNALIGNED_ACCESS
-#elif defined(__PPC__)
+#elif defined(__PPC__) || (__ppc__)
# define WORDS_BIGENDIAN
# define BITFIELDS_BIGENDIAN
# undef ALLOW_UNALIGNED_ACCESS
@@ -1102,7 +1102,7 @@
#endif /* _MIPS_ */
/* PowerPC context definitions */
-#ifdef __PPC__
+#if defined(__PPC__) || (__ppc__)
#define CONTEXT_CONTROL 0x0001
#define CONTEXT_FLOATING_POINT 0x0002
@@ -1223,7 +1223,7 @@
DWORD Parameter7;
} STACK_FRAME_HEADER,*PSTACK_FRAME_HEADER;
-#endif /* __PPC__ */
+#endif /* __PPC__ || __ppc__ */
#ifdef __sparc__
@@ -1570,7 +1570,7 @@
#endif /* __s390__ */
-#ifdef __PPC__
+#if defined(__PPC__) || (__ppc__)
/* FIXME: use getcontext() to retrieve full context */
#define _GET_CONTEXT \
@@ -1595,7 +1595,7 @@
void WINAPI name ( t1 a1, t2 a2, t3 a3, t4 a4 ) \
{ _GET_CONTEXT; fn( a1, a2, a3, a4, &context ); }
-#endif /* __PPC__ */
+#endif /* __PPC__ || __ppc__ */
#ifndef DEFINE_REGS_ENTRYPOINT_0