From bc3863ebf40f9c6e01ac6c43cd06767a257e3300 Mon Sep 17 00:00:00 2001 From: "Carl.Kenner" Date: Wed, 6 May 2009 22:21:01 +0000 Subject: [PATCH] Fix packed structures more correctly. --- src/platform/wii/config.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/platform/wii/config.h b/src/platform/wii/config.h index d68f7b6..66a40ac 100644 --- a/src/platform/wii/config.h +++ b/src/platform/wii/config.h @@ -51,8 +51,8 @@ /* Define to 1 if you want serial passthrough support (Win32 only). */ #define C_DIRECTSERIAL 0 -#define GCC_ATTRIBUTE(x) /* attribute not supported */ -#define GCC_UNLIKELY(x) (x) +#define GCC_ATTRIBUTE(x) __attribute__ ((x)) +#define GCC_UNLIKELY(x) __builtin_expect((x), 0) #define INLINE inline //#define DB_FASTCALL __fastcall