Fix DragonFly build (unsupported).

Thanks to Robin Hahling, Alex Hornung and Joris Giovannangeli.
This commit is contained in:
Mike Pall
2014-10-07 16:17:29 +02:00
parent cb886b5817
commit 4846a714a9
4 changed files with 8 additions and 5 deletions

View File

@@ -67,7 +67,8 @@
#elif defined(__MACH__) && defined(__APPLE__)
#define LUAJIT_OS LUAJIT_OS_OSX
#elif (defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || \
defined(__NetBSD__) || defined(__OpenBSD__)) && !defined(__ORBIS__)
defined(__NetBSD__) || defined(__OpenBSD__) || \
defined(__DragonFly__)) && !defined(__ORBIS__)
#define LUAJIT_OS LUAJIT_OS_BSD
#elif (defined(__sun__) && defined(__svr4__)) || defined(__CYGWIN__)
#define LUAJIT_OS LUAJIT_OS_POSIX