aboutsummaryrefslogtreecommitdiff
path: root/src/os/unix/ngx_darwin_config.h
diff options
context:
space:
mode:
authorRuslan Ermilov <ru@nginx.com>2011-09-13 09:18:43 +0000
committerRuslan Ermilov <ru@nginx.com>2011-09-13 09:18:43 +0000
commit59efbc4bcb02fa22d9ce5b5ba43aad239fddf4f9 (patch)
treea3babb0b26975a1dabf52a583949a0c731109f88 /src/os/unix/ngx_darwin_config.h
parentf824fb47feb9b19763c9cb4f85f98c692131f9b3 (diff)
downloadnginx-59efbc4bcb02fa22d9ce5b5ba43aad239fddf4f9.tar.gz
nginx-59efbc4bcb02fa22d9ce5b5ba43aad239fddf4f9.zip
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/os/unix/ngx_darwin_config.h')
-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>