Fix QNX build.

Note: this is not an officially supported target.
Contributed by Wen Yang.
This commit is contained in:
Mike Pall
2022-09-12 11:16:20 +02:00
parent 03080b795a
commit e19db60512
3 changed files with 8 additions and 1 deletions

View File

@@ -93,6 +93,9 @@
#elif defined(__CYGWIN__)
#define LJ_TARGET_CYGWIN 1
#define LUAJIT_OS LUAJIT_OS_POSIX
#elif defined(__QNX__)
#define LJ_TARGET_QNX 1
#define LUAJIT_OS LUAJIT_OS_POSIX
#else
#define LUAJIT_OS LUAJIT_OS_OTHER
#endif