aboutsummaryrefslogtreecommitdiff
path: root/GTMDefines.h
diff options
context:
space:
mode:
authorGravatar gtm.daemon <gtm.daemon@7dc7ac4e-7543-0410-b95c-c1676fc8e2a3>2011-08-23 20:30:21 +0000
committerGravatar gtm.daemon <gtm.daemon@7dc7ac4e-7543-0410-b95c-c1676fc8e2a3>2011-08-23 20:30:21 +0000
commit5254e4910abd5fbb5d915ff033edd9212bf0d7fd (patch)
tree39e36f09e088b963a29dd6b512bff35baa40fe31 /GTMDefines.h
parentc6301cab8e7185b9793940ee84ae2b6af3da1b8d (diff)
[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)
Diffstat (limited to 'GTMDefines.h')
-rw-r--r--GTMDefines.h2
1 files changed, 1 insertions, 1 deletions
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__