diff options
author | Pierre Wendling <pierre.wendling.4@gmail.com> | 2023-09-12 18:33:46 +0200 |
---|---|---|
committer | Brent Cook <busterb@gmail.com> | 2023-11-01 20:49:34 -0500 |
commit | f06374e731108b0af09da2d4d06e7c5f907a3f77 (patch) | |
tree | 612b43450dfd2e9078adde85a1b596a1a4b84442 /tls | |
parent | 60f4156d768ee3e60e92f59ea9d03e6957da3bc9 (diff) | |
download | portable-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 'tls')
-rw-r--r-- | tls/CMakeLists.txt | 2 |
1 files changed, 2 insertions, 0 deletions
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) | |||
22 | compat/pread.c | 22 | compat/pread.c |
23 | compat/pwrite.c | 23 | compat/pwrite.c |
24 | ) | 24 | ) |
25 | |||
26 | set(LIBTLS_EXTRA_EXPORT ${LIBTLS_EXTRA_EXPORT} ftruncate) | ||
25 | endif() | 27 | endif() |
26 | 28 | ||
27 | if(NOT "${OPENSSLDIR}" STREQUAL "") | 29 | if(NOT "${OPENSSLDIR}" STREQUAL "") |