From c4bb6b79ea36c05ccfe3033174a7950ac6a51609 Mon Sep 17 00:00:00 2001 From: Pierre Wendling Date: Tue, 12 Sep 2023 18:33:46 +0200 Subject: MSVC: Enable building ocspcheck. - Add `STDIN_FILENO` to compat unistd header. - Use quotes to include compat getopt header in the compat unistd. - Export additional symbols needed by ocspcheck (optarg, optind, ftruncate) --- tls/CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tls') diff --git a/tls/CMakeLists.txt b/tls/CMakeLists.txt index 59deee3..4beef36 100644 --- a/tls/CMakeLists.txt +++ b/tls/CMakeLists.txt @@ -22,6 +22,8 @@ if(WIN32) compat/pread.c compat/pwrite.c ) + + set(LIBTLS_EXTRA_EXPORT ${LIBTLS_EXTRA_EXPORT} ftruncate) endif() if(NOT "${OPENSSLDIR}" STREQUAL "") -- cgit v1.2.3-55-g6feb