RT4033: Use OPENSSL_SYS_UNIX not "unix"

Real fix for RT 4033

Reviewed-by: Richard Levitte <levitte@openssl.org>
This commit is contained in:
Rich Salz 2015-09-16 22:17:55 -04:00 committed by Rich Salz
parent 0e04674e96
commit 568b80206a
2 changed files with 3 additions and 2 deletions

View file

@ -115,6 +115,7 @@
# include "e_os.h"
# include <assert.h>
# include <openssl/e_os2.h>
# include <openssl/bio.h>
# include <openssl/x509.h>
# include <openssl/lhash.h>

View file

@ -59,7 +59,7 @@
#include "apps.h"
#if defined(unix) || defined(__APPLE__)
#if defined(OPENSSL_SYS_UNIX) || defined(__APPLE__)
# include <unistd.h>
# include <stdio.h>
# include <limits.h>
@ -488,4 +488,4 @@ int rehash_main(int argc, char **argv)
return (1);
}
#endif /* defined(unix) || defined(__APPLE__) */
#endif /* defined(OPENSSL_SYS_UNIX) || defined(__APPLE__) */