From 8b40a5b08f1cc9a84a74d89e262bf4463a4e8051 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Joakim=20So=CC=88derberg?= Date: Tue, 21 Jan 2014 11:35:21 +0100 Subject: [PATCH] Check if we're on OSX before disabling deprecation in le-proxy --- sample/le-proxy.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sample/le-proxy.c b/sample/le-proxy.c index 0c918d7a..30e0a5f6 100644 --- a/sample/le-proxy.c +++ b/sample/le-proxy.c @@ -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 -- 2.50.1