From 3f433561d4eff9e0d35cb262e5e123cbb6f1326d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kornel=20Lesin=CC=81ski?= Date: Mon, 29 Jun 2015 09:51:24 +0100 Subject: [PATCH] Hide __nonnull from Xcode 6 --- Sparkle/Sparkle.pch | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Sparkle/Sparkle.pch b/Sparkle/Sparkle.pch index 6d05189f..afac8dca 100644 --- a/Sparkle/Sparkle.pch +++ b/Sparkle/Sparkle.pch @@ -8,6 +8,11 @@ #ifdef __OBJC__ +#if !defined(__clang_major__) || __clang_major__ < 7 +#define __nonnull +#define __nullable +#endif + #import #import "SUConstants.h" #import "SUErrors.h"