*/
// Get rid of OSX 10.7 and greater deprecation warnings.
-#ifdef __clang__
+#if defined(__APPLE__) && defined(__clang__)
#pragma clang diagnostic ignored "-Wdeprecated-declarations"
#endif
*/
// Get rid of OSX 10.7 and greater deprecation warnings.
-#ifdef __clang__
+#if defined(__APPLE__) && defined(__clang__)
#pragma clang diagnostic ignored "-Wdeprecated-declarations"
#endif
*/
// Get rid of OSX 10.7 and greater deprecation warnings.
-#ifdef __clang__
+#if defined(__APPLE__) && defined(__clang__)
#pragma clang diagnostic ignored "-Wdeprecated-declarations"
#endif