From: sashan Date: Fri, 11 Apr 2025 20:46:10 +0000 (+0200) Subject: Fix AIX build in test/radix/quic_tests.c X-Git-Tag: openssl-3.5.1~101 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9ea311355890237a807b09f5a96cef0556b63445;p=thirdparty%2Fopenssl.git Fix AIX build in test/radix/quic_tests.c Reviewed-by: Tom Cosgrove Reviewed-by: Tomas Mraz (Merged from https://github.com/openssl/openssl/pull/27354) (cherry picked from commit 235092d780857baf64cefae7eeb8e06e56e19147) --- diff --git a/test/radix/quic_tests.c b/test/radix/quic_tests.c index 4fd207f0bd9..21ad05415da 100644 --- a/test/radix/quic_tests.c +++ b/test/radix/quic_tests.c @@ -7,6 +7,16 @@ * https://www.openssl.org/source/license.html */ +#if defined(_AIX) +/* + * Some versions of AIX define macros for events and revents for use when + * accessing pollfd structures (see Github issue #24236). That interferes + * with our use of these names here. We simply undef them. + */ +# undef revents +# undef events +#endif + /* * Test Scripts * ============================================================================