mirror of https://github.com/PCSX2/pcsx2.git
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:
parent
b974b815ff
commit
816e39851a
|
@ -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]))
|
||||
|
|
|
@ -40,6 +40,8 @@ inline u32 timeGetTime()
|
|||
|
||||
#include <sys/time.h>
|
||||
|
||||
#define InterlockedExchangeAdd _InterlockedExchangeAdd
|
||||
|
||||
#else
|
||||
#include <windows.h>
|
||||
#include <windowsx.h>
|
||||
|
|
Loading…
Reference in New Issue