summaryrefslogtreecommitdiff
path: root/src/lj_arch.h
diff options
context:
space:
mode:
authorMike Pall <mike>2011-06-14 16:44:20 +0200
committerMike Pall <mike>2011-06-14 16:44:20 +0200
commit3d1563524f3b6bc2313ff948efa8a6d3a45c11a3 (patch)
tree3ccf362fe892b54f00d693e9b0246c5dea28527a /src/lj_arch.h
parent9cf2cd2a1177ea7529890e6004d94fb092a7c92a (diff)
downloadluajit-3d1563524f3b6bc2313ff948efa8a6d3a45c11a3.tar.gz
luajit-3d1563524f3b6bc2313ff948efa8a6d3a45c11a3.tar.bz2
luajit-3d1563524f3b6bc2313ff948efa8a6d3a45c11a3.zip
More fixes for the Solaris/x86 build. Thanks to Will Metcalf.
Diffstat (limited to 'src/lj_arch.h')
-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