diff options
author | Theo Buehler <tb@openbsd.org> | 2024-10-02 12:35:23 +0200 |
---|---|---|
committer | Theo Buehler <tb@openbsd.org> | 2024-10-02 12:35:23 +0200 |
commit | 69c26f31f2b95034358c3c3896db5c617c5783e1 (patch) | |
tree | bcd0d13a1fb0031319a2c96d88b22152c6a9b7ef /tests | |
parent | 582d50beeb036fc6376eaa3435ed698c8ec1b761 (diff) | |
download | portable-69c26f31f2b95034358c3c3896db5c617c5783e1.tar.gz portable-69c26f31f2b95034358c3c3896db5c617c5783e1.tar.bz2 portable-69c26f31f2b95034358c3c3896db5c617c5783e1.zip |
fix syslog_r and pipe2 detection
Diffstat (limited to 'tests')
-rw-r--r-- | tests/CMakeLists.txt | 4 |
1 files changed, 2 insertions, 2 deletions
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 | |||
693 | # Emscripten does not support socketpair syscall. | 693 | # Emscripten does not support socketpair syscall. |
694 | if(NOT (CMAKE_SYSTEM_NAME MATCHES "WindowsStore" OR EMSCRIPTEN)) | 694 | if(NOT (CMAKE_SYSTEM_NAME MATCHES "WindowsStore" OR EMSCRIPTEN)) |
695 | set(SIGNERTEST_SRC signertest.c) | 695 | set(SIGNERTEST_SRC signertest.c) |
696 | check_symbol_exists(pipe2 "fcntl.h unistd.h" HAVE_PIPE2) | 696 | check_symbol_exists(pipe2 "fcntl.h;unistd.h" HAVE_PIPE2) |
697 | if(HAVE_PIPE2) | 697 | if(HAVE_PIPE2) |
698 | add_definitions(-DHAVE_PIPE2) | 698 | add_definitions(-DHAVE_PIPE2) |
699 | else() | 699 | else() |
@@ -809,7 +809,7 @@ add_platform_test(tlslegacytest tlslegacytest) | |||
809 | # Emscripten does not support socketpair syscall. | 809 | # Emscripten does not support socketpair syscall. |
810 | if(NOT (CMAKE_SYSTEM_NAME MATCHES "WindowsStore" OR EMSCRIPTEN)) | 810 | if(NOT (CMAKE_SYSTEM_NAME MATCHES "WindowsStore" OR EMSCRIPTEN)) |
811 | set(TLSTEST_SRC tlstest.c) | 811 | set(TLSTEST_SRC tlstest.c) |
812 | check_symbol_exists(pipe2 "fcntl.h unistd.h" HAVE_PIPE2) | 812 | check_symbol_exists(pipe2 "fcntl.h;unistd.h" HAVE_PIPE2) |
813 | if(HAVE_PIPE2) | 813 | if(HAVE_PIPE2) |
814 | add_definitions(-DHAVE_PIPE2) | 814 | add_definitions(-DHAVE_PIPE2) |
815 | else() | 815 | else() |