mirror of
https://github.com/libevent/libevent.git
synced 2025-01-09 00:56:20 +08:00
Check if we're on OSX before disabling deprecation in le-proxy
This commit is contained in:
parent
4e1439588f
commit
8b40a5b08f
@ -6,7 +6,7 @@
|
||||
*/
|
||||
|
||||
// Get rid of OSX 10.7 and greater deprecation warnings.
|
||||
#ifdef __clang__
|
||||
#if defined(__APPLE__) && defined(__clang__)
|
||||
#pragma clang diagnostic ignored "-Wdeprecated-declarations"
|
||||
#endif
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user