library: Port to Haiku.

This commit is contained in:
Augustin Cavalier 2018-04-11 20:27:32 -04:00
parent 80aa3b8d65
commit 60bc47dd87
4 changed files with 10 additions and 3 deletions

View file

@ -28,7 +28,8 @@
#if defined(MBEDTLS_NET_C)
#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"
#endif