mirror of
https://github.com/cuberite/libevent.git
synced 2025-09-10 13:04:23 -04: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.
|
// Get rid of OSX 10.7 and greater deprecation warnings.
|
||||||
#ifdef __clang__
|
#if defined(__APPLE__) && defined(__clang__)
|
||||||
#pragma clang diagnostic ignored "-Wdeprecated-declarations"
|
#pragma clang diagnostic ignored "-Wdeprecated-declarations"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user