More fixes for the Solaris/x86 build. Thanks to Will Metcalf.
This commit is contained in:
@@ -118,8 +118,10 @@ typedef uintptr_t BloomFilter;
|
||||
#define LJ_NOINLINE __attribute__((noinline))
|
||||
|
||||
#if defined(__ELF__) || defined(__MACH__)
|
||||
#if !((defined(__sun__) && defined(__svr4__)) || defined(__solaris__))
|
||||
#define LJ_NOAPI extern __attribute__((visibility("hidden")))
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/* Note: it's only beneficial to use fastcall on x86 and then only for up to
|
||||
** two non-FP args. The amalgamated compile covers all LJ_FUNC cases. Only
|
||||
|
||||
Reference in New Issue
Block a user