Merge pull request #8726 from v1gnesh/patch-1

Update entropy_poll.c to allow build in z/OS
This commit is contained in:
Janos Follath 2024-01-23 12:43:18 +00:00 committed by GitHub
commit aa3fa98bc4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 1 deletions

2
ChangeLog.d/8726.txt Normal file
View File

@ -0,0 +1,2 @@
Features
* Add partial platform support for z/OS.

View File

@ -29,7 +29,7 @@
#if !defined(unix) && !defined(__unix__) && !defined(__unix) && \ #if !defined(unix) && !defined(__unix__) && !defined(__unix) && \
!defined(__APPLE__) && !defined(_WIN32) && !defined(__QNXNTO__) && \ !defined(__APPLE__) && !defined(_WIN32) && !defined(__QNXNTO__) && \
!defined(__HAIKU__) && !defined(__midipix__) !defined(__HAIKU__) && !defined(__midipix__) && !defined(__MVS__)
#error \ #error \
"Platform entropy sources only work on Unix and Windows, see MBEDTLS_NO_PLATFORM_ENTROPY in mbedtls_config.h" "Platform entropy sources only work on Unix and Windows, see MBEDTLS_NO_PLATFORM_ENTROPY in mbedtls_config.h"
#endif #endif