From 8a84de23b8f8fc63338dfcc58f572e33c428c1b7 Mon Sep 17 00:00:00 2001 From: j_mayer Date: Sun, 30 Sep 2007 14:44:52 +0000 Subject: 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 --- vl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vl.h') diff --git a/vl.h b/vl.h index 4e0628332b..0add259de8 100644 --- a/vl.h +++ b/vl.h @@ -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 -- cgit v1.2.3