Library proposal: Add System.Info.isWindows

Duncan Coutts duncan.coutts at worc.ox.ac.uk
Wed Aug 15 21:05:30 EDT 2007


On Thu, 2007-08-16 at 01:39 +0100, Ian Lynagh 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.

Hmm, but how is the base lib going to be set up to return OtherOS
"BeOS"? This would have to be done during porting, wouldn't it be just
as easy for said porter to add BeOS to the OSType enumeration?

Duncan



More information about the Libraries mailing list