aboutsummaryrefslogtreecommitdiff
path: root/include/compat/unistd.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* MSVC: Enable building ocspcheck.Pierre Wendling2023-10-291-1/+2
| | | | | | | - 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)
* add compat getopt implementation, remove patchesBrent Cook2023-07-071-0/+4
| | | | | | | | | This adds a getopt implementation for compatibility where it is not available, removing a couple of regress patches. Note, this is a slightly modified copy from OpenBSD libc that doesn't expose getopt_long, which has dependency conflicts with Windows system headers and isn't needed anyway.
* include <windows.h>Brent Cook2020-04-141-0/+1
|
* avoid exporting a sleep() symbol from libcryptoBrent Cook2020-04-141-1/+7
| | | | | | Since it seems only MSVC lacks sleep(), and it's only used by apps, lets special-case that and make it available as a static inline function instead.
* Disable unveilkinichiro2018-08-221-0/+1
|
* Add compat bits for libtls on Windowskinichiro2018-02-251-0/+18
|
* Add support for getpagesizekinichiro2017-03-151-0/+4
|
* Add STDOUT_FILENO to include/compat/unistd.hkinichiro2017-01-261-0/+1
|
* include pipe2/socketpair compat for macOSBrent Cook2017-01-151-0/+4
|
* Enable tests on Visual Studiokinichiro2016-10-301-0/+2
| | | | | | | | | | | - add patch for aeadtest.c to undef IN - add patch for ocsp_test.c to call BIO_sock_init() before getaddrinfo() - define STDERR_FILENO in unistd.h to build pkcs7test.c - add option ENABLE_VSTEST(default OFF) to enable test on Visual Studio - modify to pass test data file as an argument (aeadtest, evptest) - add Windows scripts (ocsptest, pq_test, ssltest, testdsa, testenc, testrsa) - do not build pidwraptest on MSVC - fix some indentations
* add solaris include for getentropy(2)Brent Cook2016-01-181-0/+7
|
* unconditionally disable pledge for nowBrent Cook2015-10-151-2/+0
| | | | suggested by deraadt@ since there is still more coming
* check for pledge(2)Brent Cook2015-10-121-2/+2
|
* resolve tame to 0Brent Cook2015-10-071-1/+1
|
* add tame(2) checkBrent Cook2015-10-071-0/+4
|
* move sleep shim to posix_win.cBrent Cook2015-07-211-5/+1
|
* add initial CMake and Visual Studio build supportBrent Cook2015-07-211-0/+36
This moves the compatibility include files from include to include/compat so we can use the awful MS C compiler <../include/> trick to emulate the GNU #include_next extension. This also removes a few old compat files we do not need anymore.