Linux: Quick fixes to get the Linux build working with the changes in r1388.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1389 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
arcum42 2009-06-18 09:32:35 +00:00
parent b974b815ff
commit 816e39851a
2 changed files with 8 additions and 0 deletions

View File

@ -65,6 +65,12 @@
would use in the same case
*/
#ifndef __SIZE_T
#define __SIZE_T
typedef unsigned int size_t;
#endif
/*** Stack frame juggling ***/
#define _ReturnAddress() (__builtin_return_address(0))
#define _AddressOfReturnAddress() (&(((void **)(__builtin_frame_address(0)))[1]))

View File

@ -40,6 +40,8 @@ inline u32 timeGetTime()
#include <sys/time.h>
#define InterlockedExchangeAdd _InterlockedExchangeAdd
#else
#include <windows.h>
#include <windowsx.h>