Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1K4ONB-0004c4-Kq for qemu-devel@nongnu.org; Thu, 05 Jun 2008 18:55:57 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1K4ONB-0004bT-A6 for qemu-devel@nongnu.org; Thu, 05 Jun 2008 18:55:57 -0400 Received: from [199.232.76.173] (port=35362 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K4ONB-0004bJ-17 for qemu-devel@nongnu.org; Thu, 05 Jun 2008 18:55:57 -0400 Received: from savannah.gnu.org ([199.232.41.3]:52788 helo=sv.gnu.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1K4ONA-0001DJ-MF for qemu-devel@nongnu.org; Thu, 05 Jun 2008 18:55:56 -0400 Received: from cvs.savannah.gnu.org ([199.232.41.69]) by sv.gnu.org with esmtp (Exim 4.63) (envelope-from ) id 1K4ON9-0005SQ-Bu for qemu-devel@nongnu.org; Thu, 05 Jun 2008 22:55:55 +0000 Received: from ths by cvs.savannah.gnu.org with local (Exim 4.63) (envelope-from ) id 1K4ON9-0005SM-3y for qemu-devel@nongnu.org; Thu, 05 Jun 2008 22:55:55 +0000 MIME-Version: 1.0 Errors-To: ths Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit From: Thiemo Seufer Message-Id: Date: Thu, 05 Jun 2008 22:55:55 +0000 Subject: [Qemu-devel] [4674] Fix always_inline definition for Darwin, by Andreas Faerber. Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Revision: 4674 http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=4674 Author: ths Date: 2008-06-05 22:55:54 +0000 (Thu, 05 Jun 2008) Log Message: ----------- Fix always_inline definition for Darwin, by Andreas Faerber. Modified Paths: -------------- trunk/host-utils.h trunk/osdep.h Modified: trunk/host-utils.h =================================================================== --- trunk/host-utils.h 2008-06-05 22:00:45 UTC (rev 4673) +++ trunk/host-utils.h 2008-06-05 22:55:54 UTC (rev 4674) @@ -23,6 +23,8 @@ * THE SOFTWARE. */ +#include "osdep.h" + #if defined(__x86_64__) #define __HAVE_FAST_MULU64__ static always_inline void mulu64 (uint64_t *plow, uint64_t *phigh, Modified: trunk/osdep.h =================================================================== --- trunk/osdep.h 2008-06-05 22:00:45 UTC (rev 4673) +++ trunk/osdep.h 2008-06-05 22:55:54 UTC (rev 4674) @@ -35,9 +35,11 @@ #define always_inline inline #else #define always_inline __attribute__ (( always_inline )) __inline__ +#define inline always_inline #endif +#else +#define inline always_inline #endif -#define inline always_inline #ifdef __i386__ #define REGPARM __attribute((regparm(3)))