mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
git-svn-id: https://svn.macports.org/repository/macports/trunk/dports@147999 d073be05-634f-4543-b044-5fe20cf6d1d6
48 lines
1.2 KiB
Diff
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
|