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 /crypto | |
| 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 'crypto')
| -rw-r--r-- | crypto/CMakeLists.txt | 2 |
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() | |||
| 778 | if(NOT HAVE_GETOPT) | 778 | if(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) | ||
| 781 | endif() | 783 | endif() |
| 782 | 784 | ||
| 783 | if(NOT HAVE_GETPAGESIZE) | 785 | if(NOT HAVE_GETPAGESIZE) |
