aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2011-09-30 14:09:44 +0000
committerIgor Sysoev <igor@sysoev.ru>2011-09-30 14:09:44 +0000
commit6f23d1a5817fd7e15d643d5ed8ddbbe37cfd6664 (patch)
tree3c69bfa783680921bbaa37348fbb17935a0e2ee0 /src
parent0b2b252cfbafe2744aa84953729105c8e7c1dc61 (diff)
downloadnginx-6f23d1a5817fd7e15d643d5ed8ddbbe37cfd6664.tar.gz
nginx-6f23d1a5817fd7e15d643d5ed8ddbbe37cfd6664.zip
Merging r4098:
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.
Diffstat (limited to 'src')
-rw-r--r--src/os/unix/ngx_darwin_config.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/os/unix/ngx_darwin_config.h b/src/os/unix/ngx_darwin_config.h
index 88aa6f502..a3a14c493 100644
--- a/src/os/unix/ngx_darwin_config.h
+++ b/src/os/unix/ngx_darwin_config.h
@@ -8,6 +8,8 @@
#define _NGX_DARWIN_CONFIG_H_INCLUDED_
+#define MAC_OS_X_VERSION_MIN_REQUIRED MAC_OS_X_VERSION_10_0
+
#include <sys/types.h>
#include <sys/time.h>