haskell / win32

Haskell support for the Win32 API
http://hackage.haskell.org/package/Win32
Other
97 stars 62 forks source link

FIx WinIO CPP guard #178

Closed Mistuke closed 3 years ago

Mistuke commented 3 years ago

Escapes the CPP guard so GHC sees it instead of hsc2hs

The file is preprocessed by hsc2hs and so it strips away the first layer of CPP. Due to this we lose the ifdef for WinIO in the one place where we wouldn't have noticed.

We got all the remaining ifdefs right :(

Fixes #177