aboutsummaryrefslogtreecommitdiff
path: root/crypto
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 /crypto
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 'crypto')
-rw-r--r--crypto/CMakeLists.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/crypto/CMakeLists.txt b/crypto/CMakeLists.txt
index 6ff46c8..d61e607 100644
--- a/crypto/CMakeLists.txt
+++ b/crypto/CMakeLists.txt
@@ -778,6 +778,8 @@ endif()
778if(NOT HAVE_GETOPT) 778if(NOT HAVE_GETOPT)
779 set(CRYPTO_SRC ${CRYPTO_SRC} compat/getopt_long.c) 779 set(CRYPTO_SRC ${CRYPTO_SRC} compat/getopt_long.c)
780 set(EXTRA_EXPORT ${EXTRA_EXPORT} getopt) 780 set(EXTRA_EXPORT ${EXTRA_EXPORT} getopt)
781 set(EXTRA_EXPORT ${EXTRA_EXPORT} optarg)
782 set(EXTRA_EXPORT ${EXTRA_EXPORT} optind)
781endif() 783endif()
782 784
783if(NOT HAVE_GETPAGESIZE) 785if(NOT HAVE_GETPAGESIZE)