Fix AIX build in test/radix/quic_tests.c

Reviewed-by: Tom Cosgrove <tom.cosgrove@arm.com>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/27354)
This commit is contained in:
sashan 2025-04-11 22:46:10 +02:00 committed by Tomas Mraz
parent e11fdd8293
commit 235092d780
1 changed files with 10 additions and 0 deletions

View File

@ -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
* ============================================================================