From c723f13753e386577cc64d4c3c8cbf2878700676 Mon Sep 17 00:00:00 2001 From: Benjamin FRANCOIS Date: Sat, 1 Sep 2018 07:25:06 +0000 Subject: [PATCH] This allows building on Haiku after disabling Discord --- deps/mbedtls/entropy_poll.c | 2 +- deps/mbedtls/net_sockets.c | 2 +- deps/mbedtls/timing.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/deps/mbedtls/entropy_poll.c b/deps/mbedtls/entropy_poll.c index a116e605d2..7d0d9450ea 100644 --- a/deps/mbedtls/entropy_poll.c +++ b/deps/mbedtls/entropy_poll.c @@ -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(__HAIKU__) #error "Platform entropy sources only work on Unix and Windows, see MBEDTLS_NO_PLATFORM_ENTROPY in config.h" #endif diff --git a/deps/mbedtls/net_sockets.c b/deps/mbedtls/net_sockets.c index 7877e94362..60a307fbb1 100644 --- a/deps/mbedtls/net_sockets.c +++ b/deps/mbedtls/net_sockets.c @@ -32,7 +32,7 @@ #if defined(MBEDTLS_NET_C) #if !defined(unix) && !defined(__unix__) && !defined(__unix) && \ - !defined(__APPLE__) && !defined(_WIN32) + !defined(__APPLE__) && !defined(_WIN32) && !defined(__HAIKU__) #error "This module only works on Unix and Windows, see MBEDTLS_NET_C in config.h" #endif diff --git a/deps/mbedtls/timing.c b/deps/mbedtls/timing.c index a7c7ff0279..f620d09ee4 100644 --- a/deps/mbedtls/timing.c +++ b/deps/mbedtls/timing.c @@ -39,7 +39,7 @@ #if !defined(MBEDTLS_TIMING_ALT) #if !defined(unix) && !defined(__unix__) && !defined(__unix) && \ - !defined(__APPLE__) && !defined(_WIN32) + !defined(__APPLE__) && !defined(_WIN32) && !defined(__HAIKU__) #error "This module only works on Unix and Windows, see MBEDTLS_TIMING_C in config.h" #endif