[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: [ANN] Lua 5.3.0 (work2) now available
- From: Sean Conner <sean@...>
- Date: Tue, 1 Apr 2014 11:48:10 -0400
It was thus said that the Great Roberto Ierusalimschy once stated:
> > On Solaris flockfile and friends aren't visible by default. [...]
>
> Do you know a reliable environment variable that can be used to detect
> Solaris and friends?
When compiling C code, I check for __SunOS. As for environment variable,
I just logged into our Solaris systems and found
$HOSTTYPE
$MACHTYPE
set ("sparc" and "sparc-sun-solaris2.10" respectively). I don't know if
those will always be set.
-spc