summaryrefslogtreecommitdiffstats
path: root/Utilities/cmcurl/CMake/CurlTests.c
diff options
context:
space:
mode:
Diffstat (limited to 'Utilities/cmcurl/CMake/CurlTests.c')
-rw-r--r--Utilities/cmcurl/CMake/CurlTests.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Utilities/cmcurl/CMake/CurlTests.c b/Utilities/cmcurl/CMake/CurlTests.c
index c5ba7c2..d74a4f0 100644
--- a/Utilities/cmcurl/CMake/CurlTests.c
+++ b/Utilities/cmcurl/CMake/CurlTests.c
@@ -38,7 +38,7 @@ main ()
# define PLATFORM_AIX_V3
#endif
-#if defined(PLATFORM_SUNOS4) || defined(PLATFORM_AIX_V3) || defined(__BEOS__)
+#if defined(PLATFORM_SUNOS4) || defined(PLATFORM_AIX_V3) || (defined(__BEOS__) && !defined(__HAIKU__))
#error "O_NONBLOCK does not work on this platform"
#endif
int socket;