fixed 2 compile errors for gcc, more awaits..

This commit is contained in:
qeed 2010-05-18 18:22:20 +00:00
parent da875309c1
commit 11e94c3e99
2 changed files with 4 additions and 3 deletions

View File

@ -72,6 +72,7 @@ typedef uint32_t uint32;
#ifdef __GNUC__ #ifdef __GNUC__
typedef unsigned long long uint64; typedef unsigned long long uint64;
typedef uint64 u64;
typedef long long int64; typedef long long int64;
#define INLINE inline #define INLINE inline
#define GINLINE inline #define GINLINE inline
@ -127,10 +128,10 @@ typedef uint32_t uint32;
typedef void (*writefunc)(uint32 A, uint8 V); typedef void (*writefunc)(uint32 A, uint8 V);
typedef uint8 (*readfunc)(uint32 A); typedef uint8 (*readfunc)(uint32 A);
#include "utils/endian.h"
#ifndef CTASSERT #ifndef CTASSERT
#define CTASSERT(x) typedef char __assert ## y[(x) ? 1 : -1]; #define CTASSERT(x) typedef char __assert ## y[(x) ? 1 : -1];
#endif #endif
#include "utils/endian.h"
#endif #endif

View File

@ -26,7 +26,7 @@
#include <fstream> #include <fstream>
#include "../types.h" #include "../types.h"
#include "endian.h" #include "endian.h"
#include "emufile.h" #include "../emufile.h"
//OMG ! configure this correctly //OMG ! configure this correctly
#define LOCAL_LE #define LOCAL_LE