]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
Fix build failure on AIX
authorsashan <anedvedicky@gmail.com>
Fri, 11 Apr 2025 15:42:31 +0000 (17:42 +0200)
committerTomas Mraz <tomas@openssl.org>
Mon, 19 May 2025 06:41:16 +0000 (08:41 +0200)
Reviewed-by: Tom Cosgrove <tom.cosgrove@arm.com>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/27354)

test/quic_multistream_test.c

index fa873a750630b08dcb0ff3dd36c79de116913654..bd3835e754cd8aa57c921222ff887ec55818ced2 100644 (file)
 
 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;