linux/osx compile fix

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2477 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
nakeee 2009-02-28 19:37:00 +00:00
parent 437ebab1a7
commit 7547f0948f
2 changed files with 7 additions and 2 deletions

View File

@ -25,8 +25,13 @@
#endif
#ifndef _WIN32
#if defined __APPLE__
char* strndup (char const *s, size_t n);
#else
#include <byteswap.h>
#endif // APPLE
#include <errno.h>
#include <byteswap.h>
// go to debugger mode
#define Crash() {asm ("int $3");}
#define ARRAYSIZE(A) (sizeof(A)/sizeof((A)[0]))

View File

@ -299,7 +299,7 @@ bool CWII_IPC_HLE_Device_es::IOCtlV(u32 _CommandAddress)
u32 Count = Memory::Read_U32(Buffer.InBuffer[0].m_Address);
std::vector<u64> TitleIDs;
TitleIDs.push_back(0x0000000100000002);
TitleIDs.push_back(0x0000000100000002ULL);
// TitleIDs.push_back(0x0001000248414341);
// TitleIDs.push_back(0x0001000146414b45);