]> git.kaiwu.me - nginx.git/commitdiff
Merging r4098:
authorIgor Sysoev <igor@sysoev.ru>
Fri, 30 Sep 2011 14:09:44 +0000 (14:09 +0000)
committerIgor Sysoev <igor@sysoev.ru>
Fri, 30 Sep 2011 14:09:44 +0000 (14:09 +0000)
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.

src/os/unix/ngx_darwin_config.h

index 88aa6f502a99cf84c6913ec56bb03085f4068977..a3a14c493a499e503c8bfbc57ff49e460db84af3 100644 (file)
@@ -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>