summaryrefslogtreecommitdiff
path: root/src/lj_arch.h
diff options
context:
space:
mode:
authorMike Pall <mike>2015-06-12 22:28:38 +0200
committerMike Pall <mike>2015-06-12 22:28:38 +0200
commit26b95a90f5f76f8a726ad0954f29781bec8ccc05 (patch)
tree87012c4e14c843891cd007a2a95bfaa95634e178 /src/lj_arch.h
parent458a40b7242aefe2f0893019f0451fb2f2deccd9 (diff)
downloadluajit-26b95a90f5f76f8a726ad0954f29781bec8ccc05.tar.gz
luajit-26b95a90f5f76f8a726ad0954f29781bec8ccc05.tar.bz2
luajit-26b95a90f5f76f8a726ad0954f29781bec8ccc05.zip
Add Xbox One port.
Diffstat (limited to 'src/lj_arch.h')
-rw-r--r--src/lj_arch.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/lj_arch.h b/src/lj_arch.h
index 96e9a99e..e705a3b2 100644
--- a/src/lj_arch.h
+++ b/src/lj_arch.h
@@ -120,6 +120,13 @@
120#define LJ_TARGET_CONSOLE 1 120#define LJ_TARGET_CONSOLE 1
121#endif 121#endif
122 122
123#ifdef _DURANGO
124#define LJ_TARGET_XBOXONE 1
125#define LJ_TARGET_CONSOLE 1
126#define LJ_TARGET_GC64 1
127#define LoadLibraryA(name) LoadLibraryExA((name), NULL, 0)
128#endif
129
123#define LJ_NUMMODE_SINGLE 0 /* Single-number mode only. */ 130#define LJ_NUMMODE_SINGLE 0 /* Single-number mode only. */
124#define LJ_NUMMODE_SINGLE_DUAL 1 /* Default to single-number mode. */ 131#define LJ_NUMMODE_SINGLE_DUAL 1 /* Default to single-number mode. */
125#define LJ_NUMMODE_DUAL 2 /* Dual-number mode only. */ 132#define LJ_NUMMODE_DUAL 2 /* Dual-number mode only. */