diff options
author | Mike Pall <mike> | 2011-06-14 16:44:20 +0200 |
---|---|---|
committer | Mike Pall <mike> | 2011-06-14 16:44:20 +0200 |
commit | 3d1563524f3b6bc2313ff948efa8a6d3a45c11a3 (patch) | |
tree | 3ccf362fe892b54f00d693e9b0246c5dea28527a /src/lj_def.h | |
parent | 9cf2cd2a1177ea7529890e6004d94fb092a7c92a (diff) | |
download | luajit-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_def.h')
-rw-r--r-- | src/lj_def.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lj_def.h b/src/lj_def.h index eeb55384..78d988ea 100644 --- a/src/lj_def.h +++ b/src/lj_def.h | |||
@@ -118,8 +118,10 @@ typedef uintptr_t BloomFilter; | |||
118 | #define LJ_NOINLINE __attribute__((noinline)) | 118 | #define LJ_NOINLINE __attribute__((noinline)) |
119 | 119 | ||
120 | #if defined(__ELF__) || defined(__MACH__) | 120 | #if defined(__ELF__) || defined(__MACH__) |
121 | #if !((defined(__sun__) && defined(__svr4__)) || defined(__solaris__)) | ||
121 | #define LJ_NOAPI extern __attribute__((visibility("hidden"))) | 122 | #define LJ_NOAPI extern __attribute__((visibility("hidden"))) |
122 | #endif | 123 | #endif |
124 | #endif | ||
123 | 125 | ||
124 | /* Note: it's only beneficial to use fastcall on x86 and then only for up to | 126 | /* Note: it's only beneficial to use fastcall on x86 and then only for up to |
125 | ** two non-FP args. The amalgamated compile covers all LJ_FUNC cases. Only | 127 | ** two non-FP args. The amalgamated compile covers all LJ_FUNC cases. Only |