We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ef24243 commit 94478cbCopy full SHA for 94478cb
1 file changed
wolfssl/wolfcrypt/wc_port.h
@@ -1106,7 +1106,7 @@ WOLFSSL_ABI WOLFSSL_API int wolfCrypt_Cleanup(void);
1106
#endif
1107
1108
/* PowerPC time_t is int */
1109
- #ifdef __PPC__
+ #if defined(__PPC__) || defined(__ppc__)
1110
#define TIME_T_NOT_64BIT
1111
1112
@@ -1274,7 +1274,7 @@ WOLFSSL_ABI WOLFSSL_API int wolfCrypt_Cleanup(void);
1274
#define XFENCE() XASM_VOLATILE("isb")
1275
#elif defined(__riscv)
1276
#define XFENCE() XASM_VOLATILE("fence")
1277
- #elif defined(__PPC__)
+ #elif defined(__PPC__) || defined(__POWERPC__)
1278
#define XFENCE() XASM_VOLATILE("isync; sync")
1279
#else
1280
#define XFENCE() WC_DO_NOTHING
0 commit comments