From 69c26f31f2b95034358c3c3896db5c617c5783e1 Mon Sep 17 00:00:00 2001 From: Theo Buehler Date: Wed, 2 Oct 2024 12:35:23 +0200 Subject: fix syslog_r and pipe2 detection --- tests/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests') diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index 8f647b1..845c23f 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -693,7 +693,7 @@ set_tests_properties(shutdowntest PROPERTIES ENVIRONMENT "srcdir=${TEST_SOURCE_D # Emscripten does not support socketpair syscall. if(NOT (CMAKE_SYSTEM_NAME MATCHES "WindowsStore" OR EMSCRIPTEN)) set(SIGNERTEST_SRC signertest.c) - check_symbol_exists(pipe2 "fcntl.h unistd.h" HAVE_PIPE2) + check_symbol_exists(pipe2 "fcntl.h;unistd.h" HAVE_PIPE2) if(HAVE_PIPE2) add_definitions(-DHAVE_PIPE2) else() @@ -809,7 +809,7 @@ add_platform_test(tlslegacytest tlslegacytest) # Emscripten does not support socketpair syscall. if(NOT (CMAKE_SYSTEM_NAME MATCHES "WindowsStore" OR EMSCRIPTEN)) set(TLSTEST_SRC tlstest.c) - check_symbol_exists(pipe2 "fcntl.h unistd.h" HAVE_PIPE2) + check_symbol_exists(pipe2 "fcntl.h;unistd.h" HAVE_PIPE2) if(HAVE_PIPE2) add_definitions(-DHAVE_PIPE2) else() -- cgit v1.2.3-55-g6feb