Library proposal: Add System.Info.isWindows

Aaron Denney wnoise at ofb.net
Thu Aug 16 20:56:05 EDT 2007


On 2007-08-16, Ian Lynagh <igloo at earth.li> wrote:
> On Thu, Aug 16, 2007 at 01:24:05AM +0100, Duncan Coutts wrote:
>> 
>> Yes, as Issaac suggests perhaps we should drop the String parameter to
>> OtherOS since it tells you nothing useful.
>
> You can match on
>
>     OtherOS "BeOS"
>
> while you wait for the BeOS alternative to be added, although you do
> need a dash of CPP to support both old and new compilers once it has
> been added.

How does that work?  How do you use CPP to check?

-- 
Aaron Denney
-><-



More information about the Libraries mailing list