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)
This commit is contained in:

committed by
Brent Cook

parent
8048941622
commit
c4bb6b79ea
@@ -778,6 +778,8 @@ endif()
|
||||
if(NOT HAVE_GETOPT)
|
||||
set(CRYPTO_SRC ${CRYPTO_SRC} compat/getopt_long.c)
|
||||
set(EXTRA_EXPORT ${EXTRA_EXPORT} getopt)
|
||||
set(EXTRA_EXPORT ${EXTRA_EXPORT} optarg)
|
||||
set(EXTRA_EXPORT ${EXTRA_EXPORT} optind)
|
||||
endif()
|
||||
|
||||
if(NOT HAVE_GETPAGESIZE)
|
||||
|
Reference in New Issue
Block a user