diff options
author | Pierre Wendling <pierre.wendling.4@gmail.com> | 2023-09-12 18:33:46 +0200 |
---|---|---|
committer | Brent Cook <busterb@gmail.com> | 2023-10-29 12:28:44 -0500 |
commit | c4bb6b79ea36c05ccfe3033174a7950ac6a51609 (patch) | |
tree | e15ea4ac82cba82224f493c04b9259f53d93b107 /apps | |
parent | 80489416222831efbfa3d0e2c74e39bfddb2dcb8 (diff) | |
download | portable-c4bb6b79ea36c05ccfe3033174a7950ac6a51609.tar.gz portable-c4bb6b79ea36c05ccfe3033174a7950ac6a51609.tar.bz2 portable-c4bb6b79ea36c05ccfe3033174a7950ac6a51609.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.txt | 4 |
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 @@ | |||
1 | if(NOT MSVC) | ||
2 | |||
3 | set( | 1 | set( |
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 | ||
35 | endif(ENABLE_LIBRESSL_INSTALL) | 33 | endif(ENABLE_LIBRESSL_INSTALL) |
36 | |||
37 | endif() | ||