21 Dec 07:11
Re: How to use #ifdef WIN32
Spencer Janssen <sjanssen <at> cse.unl.edu>
2007-12-21 06:11:55 GMT
2007-12-21 06:11:55 GMT
On Thursday 20 December 2007 22:04:13 Duncan Coutts wrote: > On Thu, 2007-12-20 at 21:16 -0600, Spencer Janssen wrote: > > If you're using Cabal, something like this should work: > > > > if os(win32) > > cpp-options: -DWIN32 > > To be precise: > > if os(windows) > cpp-options: -DWIN32 > > See, Cabal is (mostly) Neil "I hate mingw" Mitchell compliant.> > > Duncan Should example 4 in section 2.1.5 of the Cabal manual be changed, then? Or are win32 and windows equivalent? Spencer Janssen
>
>
> Duncan
Should example 4 in section 2.1.5 of the Cabal manual be changed, then? Or
are win32 and windows equivalent?
Spencer Janssen
RSS Feed