Fix always_inline definition for Darwin, by Andreas Faerber.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4674 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
ths 2008-06-05 22:55:54 +00:00
parent 5452adbee0
commit cebdff772d
2 changed files with 6 additions and 2 deletions

View file

@ -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,

View file

@ -35,9 +35,11 @@
#define always_inline inline
#else
#define always_inline __attribute__ (( always_inline )) __inline__
#endif
#endif
#define inline always_inline
#endif
#else
#define inline always_inline
#endif
#ifdef __i386__
#define REGPARM __attribute((regparm(3)))