diff options
Diffstat (limited to 'Build/source/libs/luajit/m4')
-rw-r--r-- | Build/source/libs/luajit/m4/lj-system.m4 | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Build/source/libs/luajit/m4/lj-system.m4 b/Build/source/libs/luajit/m4/lj-system.m4 index 3af3f5f4d86..d119fad6d04 100644 --- a/Build/source/libs/luajit/m4/lj-system.m4 +++ b/Build/source/libs/luajit/m4/lj-system.m4 @@ -74,6 +74,11 @@ AS_CASE([$LJARCH], [echo '-D GPR64' >>dynasm_flags]) AS_IF([test "x$LJHOST" = xPS3], [echo '-D PPE -D TOC' >>dynasm_flags])]) +AS_CASE([$LJHOST], + [Windows], [echo '-DLUAJIT_OS=LUAJIT_OS_WINDOWS' >>native_flags], + [Darwin | iOS], [echo '-DLUAJIT_OS=LUAJIT_OS_OSX' >>native_flags], + [Linux], [echo '-DLUAJIT_OS=LUAJIT_OS_LINUX' >>native_flags], + [echo '-DLUAJIT_OS=LUAJIT_OS_OTHER' >>native_flags]) AC_MSG_RESULT([$LJHOST $LJARCH $DASM_ARCH]) ]) # _LJ_ARCH |