aboutsummaryrefslogtreecommitdiff
path: root/src/lj_arch.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/lj_arch.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lj_arch.h b/src/lj_arch.h
index 14448565..ff4628df 100644
--- a/src/lj_arch.h
+++ b/src/lj_arch.h
@@ -65,7 +65,8 @@
65#elif defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || \ 65#elif defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || \
66 defined(__NetBSD__) || defined(__OpenBSD__) 66 defined(__NetBSD__) || defined(__OpenBSD__)
67#define LUAJIT_OS LUAJIT_OS_BSD 67#define LUAJIT_OS LUAJIT_OS_BSD
68#elif defined(__solaris__) || defined(__CYGWIN__) 68#elif (defined(__sun__) && defined(__svr4__)) || defined(__solaris__) || \
69 defined(__CYGWIN__)
69#define LUAJIT_OS LUAJIT_OS_POSIX 70#define LUAJIT_OS LUAJIT_OS_POSIX
70#else 71#else
71#define LUAJIT_OS LUAJIT_OS_OTHER 72#define LUAJIT_OS LUAJIT_OS_OTHER