aboutsummaryrefslogtreecommitdiff
path: root/GTMDefines.h
diff options
context:
space:
mode:
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__