aboutsummaryrefslogtreecommitdiff
path: root/include/compat (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Add support for getpagesizekinichiro2017-03-151-0/+4
|
* Add recallocarraykinichiro2017-03-091-0/+4
|
* Move S_IRGRP and S_IROTH from fcntl.h to sys/stat.hkinichiro2017-01-282-8/+9
| | | | | | - S_IRGRP and S_IROTH should be defined in sys/stat.h rather than fcntl.h - Old MinGW64 on Ubuntu 14.04 appears not to have S_IRGRP and S_IROTH - MinGW64 has __WIN32 defined but does not have _MSC_VER defined
* Add S_IRGRP and S_IROTH to include/compat/fcntl.h for ocspcheckkinichiro2017-01-261-0/+8
|
* Add STDOUT_FILENO to include/compat/unistd.hkinichiro2017-01-261-0/+1
|
* Add inet_ntop and memmem for ocspcheckkinichiro2017-01-261-0/+4
|
* Fix fcntl.h shim since HP-UX 11.31 (ia64) does not define O_CLOEXECkinichiro2017-01-191-2/+2
|
* MSVSC fixesBrent Cook2017-01-163-6/+8
|
* add open(2) shim to handle O_BINARY and O_CLOEXECBrent Cook2017-01-161-0/+6
|
* add fcntl shimBrent Cook2017-01-161-0/+32
|
* add noreturn attribute to compat functionsBrent Cook2017-01-151-0/+10
|
* include pipe2/socketpair compat for macOSBrent Cook2017-01-152-0/+11
|
* define PATH_MAX in more msvc versionsBrent Cook2016-10-301-0/+8
|
* 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
* ensure that __STRING worksBrent Cook2016-09-141-0/+5
|
* more cdefs.h removalBrent Cook2016-09-041-2/+0
|
* cdefs.h should not be required anywhereBrent Cook2016-09-042-31/+16
|
* wire up sys/types.h to pull in sys/cdefs.hBrent Cook2016-09-041-0/+2
|
* modify include/compat/netinet/ip.hkinichiro2016-03-131-0/+4
| | | | - add including <netinet/in_systm.h> for n_long on HP-UX
* add solaris include for getentropy(2)Brent Cook2016-01-181-0/+7
|
* replace err.h macros with inline functionsBrent Cook2016-01-031-8/+54
| | | | Passing NULL for the format is just easier with a function.
* include strings.h in string.h on AIX as wellBrent Cook2016-01-031-2/+3
|
* refresh nc(1) supportBrent Cook2015-12-061-0/+1
|
* wrap gets on Windows, replacing '\r\n' with '\n'Brent Cook2015-12-051-0/+2
|
* no special workaround needed for MSVC2015Brent Cook2015-12-021-4/+0
|
* Windows compatibility fixesBrent Cook2015-10-182-4/+13
| | | | | | | | | | | VS2013 has trouble with relative include paths for apps/openssl, so move certhash_win/apps_win.c back to apps/openssl. gmtime_r on mingw64 fails with negative time_t, override gmtime_s fails all of the time unit tests, override SHUT_RD/WR are defined in newer mingw64 headers, check before overriding
* disable some tests with 32-bit time_t systemsBrent Cook2015-10-171-4/+0
| | | | Also disable use of _mkgmtime, it does not produce correct results.
* unconditionally disable pledge for nowBrent Cook2015-10-151-2/+0
| | | | suggested by deraadt@ since there is still more coming
* include timegm fallbackBrent Cook2015-10-152-6/+5
|
* add limits.h shim for defining PATH_MAX on HP-UXBrent Cook2015-10-141-0/+26
|
* 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
|
* rename _mkgmtime as timegm on win32Brent Cook2015-10-071-0/+4
|
* add b64_ntop checking and fallback for nc(1)Brent Cook2015-10-012-4/+24
|
* fixup windows and older linux buildsBrent Cook2015-09-131-0/+10
|
* allow nc to build on linux and os xBrent Cook2015-09-133-10/+91
|
* remove support for old MSVC versions, KNFBrent Cook2015-09-091-551/+405
|
* updates for MSVC 2015's degenerate headersBrent Cook2015-09-097-3/+38
| | | | | | Note that 'perror' moves from stdio.h to stdlib.h, and 'rename' moves from stdio.h to io.h. Also, standard C includes move from the compiler to the Windows SDK, which changes the base path for the include files.
* correct fallback err.h macro behaviorBrent Cook2015-07-221-4/+4
|
* move sleep shim to posix_win.cBrent Cook2015-07-211-5/+1
|
* tighten up compat include paths, fix glibc compatibilityBrent Cook2015-07-214-16/+10
|
* add initial CMake and Visual Studio build supportBrent Cook2015-07-2126-0/+1495
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.