Skip to content

Commit

Permalink
Allow building on Haiku OS.
Browse files Browse the repository at this point in the history
Note: this is not an officially supported target.
Thanks to kallisti5.
  • Loading branch information
Mike Pall committed Apr 7, 2017
1 parent 7c7843e commit 22dfa63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lj_arch.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 22dfa63

Please sign in to comment.