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) --- apps/ocspcheck/CMakeLists.txt | 4 ---- 1 file changed, 4 deletions(-) (limited to 'apps') diff --git a/apps/ocspcheck/CMakeLists.txt b/apps/ocspcheck/CMakeLists.txt index 43eebdf..9cf7a8b 100644 --- a/apps/ocspcheck/CMakeLists.txt +++ b/apps/ocspcheck/CMakeLists.txt @@ -1,5 +1,3 @@ -if(NOT MSVC) - set( OCSPCHECK_SRC http.c @@ -33,5 +31,3 @@ if(ENABLE_LIBRESSL_INSTALL) install(FILES ocspcheck.8 DESTINATION ${CMAKE_INSTALL_MANDIR}/man8) endif(ENABLE_LIBRESSL_INSTALL) - -endif() -- cgit v1.2.3-55-g6feb