fixed some portability issues

git-svn-id: file:///home/notaz/opt/svn/PicoDrive@337 be3aeb3a-fb24-0410-a615-afba39da0efa
This commit is contained in:
notaz 2008-01-27 23:04:56 +00:00
parent dca310c413
commit 10d84cb275
2 changed files with 13 additions and 2 deletions

View file

@ -14,12 +14,20 @@
#include "cz80.h"
#if PICODRIVE_HACKS
#undef EMU_M68K
#include <Pico/PicoInt.h>
#endif
#ifndef ALIGN_DATA
#ifdef _MSC_VER
#define ALIGN_DATA
#define inline
#undef CZ80_USE_JUMPTABLE
#define CZ80_USE_JUMPTABLE 0
#else
#define ALIGN_DATA __attribute__((aligned(4)))
#endif
#endif
#define CF 0x01
#define NF 0x02