diff options
author | j_mayer <j_mayer@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-09-30 14:44:52 +0000 |
---|---|---|
committer | j_mayer <j_mayer@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-09-30 14:44:52 +0000 |
commit | 8a84de23b8f8fc63338dfcc58f572e33c428c1b7 (patch) | |
tree | 866b3852fd785d45234cc3b01962d723550f4691 /vl.h | |
parent | a5b85f7959378bc038803e51918e0f64461eb9b6 (diff) |
Fix compilation on Darwin platform, avoiding the use of gcc function attributes
(problem reported by Andreas Farber).
: ----------------------------------------------------------------------
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3292 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'vl.h')
-rw-r--r-- | vl.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -110,7 +110,7 @@ static inline char *realpath(const char *path, char *resolved_path) #endif #ifndef always_inline -#if __GNUC__ < 3 +#if (__GNUC__ < 3) || defined(__APPLE__) #define always_inline inline #else #define always_inline __attribute__ (( always_inline )) inline |