Even more late break-in MacOS tidbits...
This commit is contained in:
parent
a7c5241f5f
commit
404fb7149e
3 changed files with 11 additions and 3 deletions
|
@ -72,7 +72,11 @@
|
|||
|
||||
#ifndef MSDOS
|
||||
#if !defined(VMS) || defined(__DECC)
|
||||
#include OPENSSL_UNISTD
|
||||
#ifdef OPENSSL_UNISTD
|
||||
# include OPENSSL_UNISTD
|
||||
#else
|
||||
# include <unistd.h>
|
||||
#endif
|
||||
#include <math.h>
|
||||
#endif
|
||||
#endif
|
||||
|
|
|
@ -58,7 +58,11 @@
|
|||
|
||||
#if !defined(MSDOS) && !defined(VMS) && !defined(WIN32)
|
||||
#include <openssl/opensslconf.h>
|
||||
#include OPENSSL_UNISTD
|
||||
#ifdef OPENSSL_UNISTD
|
||||
# include OPENSSL_UNISTD
|
||||
#else
|
||||
# include <unistd.h>
|
||||
#endif
|
||||
/* If unistd.h defines _POSIX_VERSION, we conclude that we
|
||||
* are on a POSIX system and have sigaction and termios. */
|
||||
#if defined(_POSIX_VERSION)
|
||||
|
|
2
e_os.h
2
e_os.h
|
@ -252,7 +252,7 @@ extern "C" {
|
|||
# else
|
||||
/* !defined VMS */
|
||||
# ifdef OPENSSL_UNISTD
|
||||
# include OPENSLL_UNISTD
|
||||
# include OPENSSL_UNISTD
|
||||
# else
|
||||
# include <unistd.h>
|
||||
# endif
|
||||
|
|
Loading…
Reference in a new issue