From e11fdd8293c5e13e09c817b89b9c3d4c1a46d857 Mon Sep 17 00:00:00 2001 From: sashan Date: Fri, 11 Apr 2025 17:42:31 +0200 Subject: [PATCH] Fix build failure on AIX Reviewed-by: Tom Cosgrove Reviewed-by: Tomas Mraz (Merged from https://github.com/openssl/openssl/pull/27354) --- test/quic_multistream_test.c | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/test/quic_multistream_test.c b/test/quic_multistream_test.c index fa873a75063..bd3835e754c 100644 --- a/test/quic_multistream_test.c +++ b/test/quic_multistream_test.c @@ -25,6 +25,16 @@ static const char *certfile, *keyfile; +#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 + #if defined(OPENSSL_THREADS) struct child_thread_args { struct helper *h; -- 2.47.2