
30 Nov
2006
30 Nov
'06
4:13 p.m.
On Thu, Nov 30, 2006 at 08:53:36PM +0000, Neil Mitchell wrote:
Arrrrggggghhhhhhh! To test if the operating system is windows you compare against a hard coded string which _isn't_ an OS, but _is_ an optional component by a 3rd party. It's required to build some Haskell compilers, but for Yhc and Hugs its not required at any stage, and its presence is optional!
Your point is well-taken, but the distinction is useful. If running on cygwin, my platform is essentially POSIX, even though the OS is Windows. And yes, I do claim that this isn't my fault ;-) -- John