Duncan Coutts | 21 Dec 05:04
Picon
Picon
Favicon

Re: How to use #ifdef WIN32


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

Gmane