summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorGravatar xleroy <xleroy@fca1b0fc-160b-0410-b1d3-a4f43f01ea2e>2011-05-12 11:13:19 +0000
committerGravatar xleroy <xleroy@fca1b0fc-160b-0410-b1d3-a4f43f01ea2e>2011-05-12 11:13:19 +0000
commit404403dee55b0d8cb24f6af7615284a016f1bc72 (patch)
tree0cb7f39ee998b13f903290f768b770a8b74f5ac2 /test
parent084bb701bfefaf5a52fe3d65cc9b2bd7de33177e (diff)
Another try for the ifdef
git-svn-id: https://yquem.inria.fr/compcert/svn/compcert/trunk@1653 fca1b0fc-160b-0410-b1d3-a4f43f01ea2e
Diffstat (limited to 'test')
-rw-r--r--test/regression/packedstruct1.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/regression/packedstruct1.c b/test/regression/packedstruct1.c
index d164b22..01f6b46 100644
--- a/test/regression/packedstruct1.c
+++ b/test/regression/packedstruct1.c
@@ -42,7 +42,7 @@ void test2(void)
/* Now with byte-swapped fields */
-#if defined(__COMPCERT__) && defined(__powerpc__)
+#if defined(__COMPCERT__) && defined(_ARCH_PPC)
#pragma pack(1,1,1)
#else
#pragma pack(1,1,0)