mirror of
https://github.com/LuaJIT/LuaJIT.git
synced 2025-02-07 23:24:09 +00:00
Fix Xbox 360 build.
This commit is contained in:
parent
ec5546d1d2
commit
46ce03464b
@ -42,7 +42,12 @@
|
||||
#elif LJ_PROFILE_WTHREAD
|
||||
|
||||
#define WIN32_LEAN_AND_MEAN
|
||||
#if LJ_TARGET_XBOX360
|
||||
#include <xtl.h>
|
||||
#include <xbox.h>
|
||||
#else
|
||||
#include <windows.h>
|
||||
#endif
|
||||
typedef unsigned int (WINAPI *WMM_TPFUNC)(unsigned int);
|
||||
#define profile_lock(ps) EnterCriticalSection(&ps->lock)
|
||||
#define profile_unlock(ps) LeaveCriticalSection(&ps->lock)
|
||||
|
Loading…
Reference in New Issue
Block a user