aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lj_profile.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/lj_profile.c b/src/lj_profile.c
index 59cba275..c11e3851 100644
--- a/src/lj_profile.c
+++ b/src/lj_profile.c
@@ -42,7 +42,12 @@
42#elif LJ_PROFILE_WTHREAD 42#elif LJ_PROFILE_WTHREAD
43 43
44#define WIN32_LEAN_AND_MEAN 44#define WIN32_LEAN_AND_MEAN
45#if LJ_TARGET_XBOX360
46#include <xtl.h>
47#include <xbox.h>
48#else
45#include <windows.h> 49#include <windows.h>
50#endif
46typedef unsigned int (WINAPI *WMM_TPFUNC)(unsigned int); 51typedef unsigned int (WINAPI *WMM_TPFUNC)(unsigned int);
47#define profile_lock(ps) EnterCriticalSection(&ps->lock) 52#define profile_lock(ps) EnterCriticalSection(&ps->lock)
48#define profile_unlock(ps) LeaveCriticalSection(&ps->lock) 53#define profile_unlock(ps) LeaveCriticalSection(&ps->lock)