diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/c/aes.c | 2 | ||||
-rw-r--r-- | test/c/sha1.c | 2 |
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 |