mirror of
https://github.com/cuberite/libevent.git
synced 2025-09-09 04:19:10 -04:00
Check for OSX when checking for clang.
This commit is contained in:
parent
f1715b471d
commit
e212c5486d
@ -25,7 +25,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
|
||||||
|
|
||||||
|
@ -35,7 +35,7 @@ SOFTWARE.
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
// 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
|
||||||
|
|
||||||
|
@ -25,7 +25,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