-
Sergei Trofimovich authored
* fix include case: s/#include <Lmcons.h>/#include <lmcons.h> Noticed when cross-compiling win32 on linux to i686-w64-mingw32-gcc. i686-w64-mingw32 provides all headers in lowercase. Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org> * Pen.hsc: don't use c99-style comments in enum declarations Ths change workarounds hsc2hs bug in cross-compile mode: https://ghc.haskell.org/trac/ghc/ticket/13619 To reproduce the build failure it's enough to run $ cabal configure --hsc2hs-options='--cross-safe --cross-compile' $ cabal build --hsc2hs-options='--cross-safe --cross-compile' Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org> * SimpleMAPI.hsc: don't use #ifdef in enum declarations This change workarounds hsc2hs bug in cross-compile mode: https://ghc.haskell.org/trac/ghc/ticket/13620 To reproduce the build failure it's enough to run $ cabal configure --hsc2hs-options='--cross-safe --cross-compile' $ cabal build --hsc2hs-options='--cross-safe --cross-compile' Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
a691f6a7