From eb982ef1eaed775f061883f64c29be8fc9137057 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) (cherry picked from commit e11fdd8293c5e13e09c817b89b9c3d4c1a46d857) --- 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 4d73a75bd01..309401cfbfe 100644 --- a/test/quic_multistream_test.c +++ b/test/quic_multistream_test.c @@ -23,6 +23,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