[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [4674] Fix always_inline definition for Darwin, by Andreas
From: |
Thiemo Seufer |
Subject: |
[Qemu-devel] [4674] Fix always_inline definition for Darwin, by Andreas Faerber. |
Date: |
Thu, 05 Jun 2008 22:55:55 +0000 |
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)))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Qemu-devel] [4674] Fix always_inline definition for Darwin, by Andreas Faerber.,
Thiemo Seufer <=