Allow building on Haiku OS.

Note: this is not an officially supported target.
Thanks to kallisti5.
This commit is contained in:
Mike Pall 2017-04-07 12:05:18 +02:00
parent 7c7843e876
commit 22dfa63283

View File

@ -74,7 +74,7 @@
defined(__NetBSD__) || defined(__OpenBSD__) || \
defined(__DragonFly__)) && !defined(__ORBIS__)
#define LUAJIT_OS LUAJIT_OS_BSD
#elif (defined(__sun__) && defined(__svr4__))
#elif (defined(__sun__) && defined(__svr4__)) || defined(__HAIKU__)
#define LUAJIT_OS LUAJIT_OS_POSIX
#elif defined(__CYGWIN__)
#define LJ_TARGET_CYGWIN 1