mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-11-29 15:54:30 +01:00
Merge remote-tracking branch 'public/pr/1567' into development
This commit is contained in:
commit
d21bd31759
@ -108,6 +108,10 @@ if(${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
|
|||||||
SET(CMAKE_CXX_ARCHIVE_FINISH "<CMAKE_RANLIB> -no_warning_for_no_symbols -c <TARGET>")
|
SET(CMAKE_CXX_ARCHIVE_FINISH "<CMAKE_RANLIB> -no_warning_for_no_symbols -c <TARGET>")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
if(HAIKU)
|
||||||
|
set(libs ${libs} network)
|
||||||
|
endif(HAIKU)
|
||||||
|
|
||||||
if(USE_PKCS11_HELPER_LIBRARY)
|
if(USE_PKCS11_HELPER_LIBRARY)
|
||||||
set(libs ${libs} pkcs11-helper)
|
set(libs ${libs} pkcs11-helper)
|
||||||
endif(USE_PKCS11_HELPER_LIBRARY)
|
endif(USE_PKCS11_HELPER_LIBRARY)
|
||||||
|
@ -45,7 +45,8 @@
|
|||||||
#if !defined(MBEDTLS_NO_PLATFORM_ENTROPY)
|
#if !defined(MBEDTLS_NO_PLATFORM_ENTROPY)
|
||||||
|
|
||||||
#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__)
|
||||||
#error "Platform entropy sources only work on Unix and Windows, see MBEDTLS_NO_PLATFORM_ENTROPY in config.h"
|
#error "Platform entropy sources only work on Unix and Windows, see MBEDTLS_NO_PLATFORM_ENTROPY in config.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -28,7 +28,8 @@
|
|||||||
#if defined(MBEDTLS_NET_C)
|
#if defined(MBEDTLS_NET_C)
|
||||||
|
|
||||||
#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__)
|
||||||
#error "This module only works on Unix and Windows, see MBEDTLS_NET_C in config.h"
|
#error "This module only works on Unix and Windows, see MBEDTLS_NET_C in config.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -39,7 +39,8 @@
|
|||||||
#if !defined(MBEDTLS_TIMING_ALT)
|
#if !defined(MBEDTLS_TIMING_ALT)
|
||||||
|
|
||||||
#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__)
|
||||||
#error "This module only works on Unix and Windows, see MBEDTLS_TIMING_C in config.h"
|
#error "This module only works on Unix and Windows, see MBEDTLS_TIMING_C in config.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user