summaryrefslogtreecommitdiff
path: root/test/c
diff options
context:
space:
mode:
authorGravatar xleroy <xleroy@fca1b0fc-160b-0410-b1d3-a4f43f01ea2e>2008-12-31 18:32:31 +0000
committerGravatar xleroy <xleroy@fca1b0fc-160b-0410-b1d3-a4f43f01ea2e>2008-12-31 18:32:31 +0000
commit7cf9ed0e3fd92110cc8531829d03ba40beab76d1 (patch)
treeec33d42fab2f0db5cd965fc8f2ca1c0e1354a17a /test/c
parent831c5fdf1158c6d55641ea479936f7beabf2221e (diff)
Continuation of PowerPC/EABI port
git-svn-id: https://yquem.inria.fr/compcert/svn/compcert/trunk@933 fca1b0fc-160b-0410-b1d3-a4f43f01ea2e
Diffstat (limited to 'test/c')
-rw-r--r--test/c/aes.c2
-rw-r--r--test/c/sha1.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/test/c/aes.c b/test/c/aes.c
index 7734ccb..c430cc3 100644
--- a/test/c/aes.c
+++ b/test/c/aes.c
@@ -36,7 +36,7 @@ typedef unsigned char u8;
typedef unsigned short u16;
typedef unsigned int u32;
-#if defined(__ppc__)
+#if defined(__ppc__) || defined(__PPC__)
#define ARCH_BIG_ENDIAN
#elif defined(__i386__) || defined(__x86_64__)
#undef ARCH_BIG_ENDIAN
diff --git a/test/c/sha1.c b/test/c/sha1.c
index ca187bf..49c5a13 100644
--- a/test/c/sha1.c
+++ b/test/c/sha1.c
@@ -5,7 +5,7 @@
#include <stdio.h>
#include <stdlib.h>
-#if defined(__ppc__)
+#if defined(__ppc__) || defined(__PPC__)
#define ARCH_BIG_ENDIAN
#elif defined(__i386__) || defined(__x86_64__)
#undef ARCH_BIG_ENDIAN