aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMike Pall <mike>2017-04-07 12:05:18 +0200
committerMike Pall <mike>2017-04-07 12:05:18 +0200
commit22dfa63283276d5dc13205680bda961ec671aef6 (patch)
treec3d01195c4f3e3284733736aad85318246ae57d4 /src
parent7c7843e876e325100b17284f05d5ba9cf6c0f256 (diff)
downloadluajit-22dfa63283276d5dc13205680bda961ec671aef6.tar.gz
luajit-22dfa63283276d5dc13205680bda961ec671aef6.tar.bz2
luajit-22dfa63283276d5dc13205680bda961ec671aef6.zip
Allow building on Haiku OS.
Note: this is not an officially supported target. Thanks to kallisti5.
Diffstat (limited to 'src')
-rw-r--r--src/lj_arch.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lj_arch.h b/src/lj_arch.h
index fe558157..c8d7138e 100644
--- a/src/lj_arch.h
+++ b/src/lj_arch.h
@@ -74,7 +74,7 @@
74 defined(__NetBSD__) || defined(__OpenBSD__) || \ 74 defined(__NetBSD__) || defined(__OpenBSD__) || \
75 defined(__DragonFly__)) && !defined(__ORBIS__) 75 defined(__DragonFly__)) && !defined(__ORBIS__)
76#define LUAJIT_OS LUAJIT_OS_BSD 76#define LUAJIT_OS LUAJIT_OS_BSD
77#elif (defined(__sun__) && defined(__svr4__)) 77#elif (defined(__sun__) && defined(__svr4__)) || defined(__HAIKU__)
78#define LUAJIT_OS LUAJIT_OS_POSIX 78#define LUAJIT_OS LUAJIT_OS_POSIX
79#elif defined(__CYGWIN__) 79#elif defined(__CYGWIN__)
80#define LJ_TARGET_CYGWIN 1 80#define LJ_TARGET_CYGWIN 1