Skip to content

Commit

Permalink
Fix build for Xtensa targets when using older versions of GCC
Browse files Browse the repository at this point in the history
add xtensa
  • Loading branch information
juliankrieger authored and briansmith committed Jul 2, 2024
1 parent fd06b00 commit 7c0024a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/ring-core/target.h
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
#elif defined(__ILP32__)
#define OPENSSL_32_BIT
// Versions of GCC before 10.0 didn't define `__ILP32__` for all 32-bit targets.
#elif defined(__MIPSEL__) || defined(__MIPSEB__) || defined(__PPC__) || defined(__powerpc__) || defined(__csky__)
#elif defined(__MIPSEL__) || defined(__MIPSEB__) || defined(__PPC__) || defined(__powerpc__) || defined(__csky__) || defined(__XTENSA__)
#define OPENSSL_32_BIT
#else
#error "Unknown target CPU"
Expand Down

0 comments on commit 7c0024a

Please sign in to comment.