Skip to content

Commit 4a5a074

Browse files
committed
aix: disable sendmmsg/recvmmsg
AIX header files don't properly expose sendmmsg/recvmmsg function declarations. Disable these functions to avoid implicit declaration errors with clang 16+. This issue was discovered when building Node.js with clang ref: nodejs/node#62656 Fixes: openssl#30806
1 parent 9ca063a commit 4a5a074

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

crypto/bio/bss_dgram.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,8 @@
6868
#undef NO_RECVMMSG
6969
#define NO_RECVMMSG
7070
#endif
71-
#if defined(_AIX) && !defined(_AIX72)
72-
/* AIX >= 7.2 provides sendmmsg() and recvmmsg(). */
71+
#if defined(_AIX)
72+
/* AIX header files don't properly expose sendmmsg/recvmmsg declarations */
7373
#undef NO_RECVMMSG
7474
#define NO_RECVMMSG
7575
#endif

0 commit comments

Comments
 (0)