From 5254e4910abd5fbb5d915ff033edd9212bf0d7fd Mon Sep 17 00:00:00 2001 From: "gtm.daemon" Date: Tue, 23 Aug 2011 20:30:21 +0000 Subject: [Author: thomasvl] This will need followup, but this is a quick and dirty to fix the things that have gone very stale. - Stop setting mac min sdk for iOS, there is an iOS version now (and setting it can cause linker errors on newer xcodes). - Add iOS xcconfigs that use the current SDK and have projects set their min version as that's how Apple wants things. - Add new config that uses the current SDK to make development workable. - Block codesigning on the iOS unittests for now. - Block format string warnings on logger until we can sort out a way to shut it up for gcc 4.2 or actually make it work. R=dmaclach DELTA=289 (277 added, 3 deleted, 9 changed) --- GTMDefines.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'GTMDefines.h') diff --git a/GTMDefines.h b/GTMDefines.h index 3a669d2..97875c8 100644 --- a/GTMDefines.h +++ b/GTMDefines.h @@ -71,7 +71,7 @@ // a few different actual definitions, so we're based off of the foundation // one. #if !defined(GTM_INLINE) - #if defined (__GNUC__) && (__GNUC__ == 4) + #if (defined (__GNUC__) && (__GNUC__ == 4)) || defined (__clang__) #define GTM_INLINE static __inline__ __attribute__((always_inline)) #else #define GTM_INLINE static __inline__ -- cgit v1.2.3