aboutsummaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorPierre Wendling <pierre.wendling.4@gmail.com>2023-09-12 18:33:46 +0200
committerBrent Cook <busterb@gmail.com>2023-11-01 20:49:34 -0500
commitf06374e731108b0af09da2d4d06e7c5f907a3f77 (patch)
tree612b43450dfd2e9078adde85a1b596a1a4b84442 /apps
parent60f4156d768ee3e60e92f59ea9d03e6957da3bc9 (diff)
downloadportable-f06374e731108b0af09da2d4d06e7c5f907a3f77.tar.gz
portable-f06374e731108b0af09da2d4d06e7c5f907a3f77.tar.bz2
portable-f06374e731108b0af09da2d4d06e7c5f907a3f77.zip
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)
Diffstat (limited to 'apps')
-rw-r--r--apps/ocspcheck/CMakeLists.txt4
1 files changed, 0 insertions, 4 deletions
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 @@
1if(NOT MSVC)
2
3set( 1set(
4 OCSPCHECK_SRC 2 OCSPCHECK_SRC
5 http.c 3 http.c
@@ -33,5 +31,3 @@ if(ENABLE_LIBRESSL_INSTALL)
33 install(FILES ocspcheck.8 DESTINATION ${CMAKE_INSTALL_MANDIR}/man8) 31 install(FILES ocspcheck.8 DESTINATION ${CMAKE_INSTALL_MANDIR}/man8)
34 32
35endif(ENABLE_LIBRESSL_INSTALL) 33endif(ENABLE_LIBRESSL_INSTALL)
36
37endif()