Added checking for QNX operating system to make mbedtls build on QNX

This commit is contained in:
Matthias Weisser 2016-08-18 07:55:05 +02:00
parent e49404a95d
commit 3f21a35c36
3 changed files with 3 additions and 3 deletions

View file

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