Mercurial > hg > nginx
comparison src/os/unix/ngx_darwin_config.h @ 5714:80bd391c90d1
Configure: added -Wno-deprecated-declarations on OS X.
Previous workaround to avoid warnings on OS X due to deprecated system
OpenSSL library (introduced in a3870ea96ccd) no longer works, as
the MAC_OS_X_VERSION_MIN_REQUIRED macro is ignored on OS X 10.9
if a compiler used supports __attribute__(availability).
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Wed, 28 May 2014 17:41:44 +0400 |
parents | 72e31d88defa |
children | 7142b04337d6 |
comparison
equal
deleted
inserted
replaced
5713:9b0c92f22bbf | 5714:80bd391c90d1 |
---|---|
5 */ | 5 */ |
6 | 6 |
7 | 7 |
8 #ifndef _NGX_DARWIN_CONFIG_H_INCLUDED_ | 8 #ifndef _NGX_DARWIN_CONFIG_H_INCLUDED_ |
9 #define _NGX_DARWIN_CONFIG_H_INCLUDED_ | 9 #define _NGX_DARWIN_CONFIG_H_INCLUDED_ |
10 | |
11 | |
12 #define MAC_OS_X_VERSION_MIN_REQUIRED MAC_OS_X_VERSION_10_0 | |
13 | 10 |
14 | 11 |
15 #include <sys/types.h> | 12 #include <sys/types.h> |
16 #include <sys/time.h> | 13 #include <sys/time.h> |
17 #include <unistd.h> | 14 #include <unistd.h> |