From 11e94c3e99891c98f750277af1a598b21a8a2f8f Mon Sep 17 00:00:00 2001 From: qeed Date: Tue, 18 May 2010 18:22:20 +0000 Subject: [PATCH] fixed 2 compile errors for gcc, more awaits.. --- src/types.h | 5 +++-- src/utils/endian.cpp | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/types.h b/src/types.h index e8bec90a..a741ffc4 100644 --- a/src/types.h +++ b/src/types.h @@ -72,6 +72,7 @@ typedef uint32_t uint32; #ifdef __GNUC__ typedef unsigned long long uint64; + typedef uint64 u64; typedef long long int64; #define INLINE inline #define GINLINE inline @@ -127,10 +128,10 @@ typedef uint32_t uint32; typedef void (*writefunc)(uint32 A, uint8 V); typedef uint8 (*readfunc)(uint32 A); -#include "utils/endian.h" - #ifndef CTASSERT #define CTASSERT(x) typedef char __assert ## y[(x) ? 1 : -1]; #endif +#include "utils/endian.h" + #endif diff --git a/src/utils/endian.cpp b/src/utils/endian.cpp index 88ab2078..8294a7dc 100644 --- a/src/utils/endian.cpp +++ b/src/utils/endian.cpp @@ -26,7 +26,7 @@ #include #include "../types.h" #include "endian.h" -#include "emufile.h" +#include "../emufile.h" //OMG ! configure this correctly #define LOCAL_LE