comparison src/os/unix/ngx_darwin_config.h @ 4097:a3870ea96ccd

In Mac OS X Lion, Apple deprecated the use of the system OpenSSL library in favour of their CommonCrypto library. This change adds a work-around that allows nginx to still be built on Lion with OpenSSL.
author Ruslan Ermilov <ru@nginx.com>
date Tue, 13 Sep 2011 09:18:43 +0000
parents 0daede16d68b
children 1b779cb69dc8 4919fb357a5d
comparison
equal deleted inserted replaced
4096:f9a1646b9611 4097:a3870ea96ccd
5 5
6 6
7 #ifndef _NGX_DARWIN_CONFIG_H_INCLUDED_ 7 #ifndef _NGX_DARWIN_CONFIG_H_INCLUDED_
8 #define _NGX_DARWIN_CONFIG_H_INCLUDED_ 8 #define _NGX_DARWIN_CONFIG_H_INCLUDED_
9 9
10
11 #define MAC_OS_X_VERSION_MIN_REQUIRED MAC_OS_X_VERSION_10_0
10 12
11 13
12 #include <sys/types.h> 14 #include <sys/types.h>
13 #include <sys/time.h> 15 #include <sys/time.h>
14 #include <unistd.h> 16 #include <unistd.h>