diff options
author | Mike Pall <mike> | 2017-04-07 12:05:18 +0200 |
---|---|---|
committer | Mike Pall <mike> | 2017-04-07 12:05:18 +0200 |
commit | 22dfa63283276d5dc13205680bda961ec671aef6 (patch) | |
tree | c3d01195c4f3e3284733736aad85318246ae57d4 /src | |
parent | 7c7843e876e325100b17284f05d5ba9cf6c0f256 (diff) | |
download | luajit-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.h | 2 |
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 |