qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [4674] Fix always_inline definition for Darwin, by Andreas Faerber.
@ 2008-06-05 22:55 Thiemo Seufer
  0 siblings, 0 replies; only message in thread
From: Thiemo Seufer @ 2008-06-05 22:55 UTC (permalink / raw)
  To: qemu-devel

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)))

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-06-05 22:55 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-06-05 22:55 [Qemu-devel] [4674] Fix always_inline definition for Darwin, by Andreas Faerber Thiemo Seufer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).