forked from mirrors/nixpkgs
9a32fd5c49
SDL_main.h which is included from SDL_ttf.h contains a #define which redefines main to SDL_main. This has to do with the way SDL binaries are linked and executed on darwin which is explained here [1]. However this is bad news for hsc2hs intermediate C sources which in this case only to gather version information from the headers and not to run a full SDL application. Thus compilation would fail due to this issue which we can avoid by redefining main to main again after including the header. [1]: http://www.ariis.it/link/repos/sdl-bindings/hssdl-image/MACOSX |
||
---|---|---|
.. | ||
configuration-hackage2nix | ||
patches | ||
cabal2nix-unstable.nix | ||
configuration-arm.nix | ||
configuration-common.nix | ||
configuration-darwin.nix | ||
configuration-ghc-8.6.x.nix | ||
configuration-ghc-8.8.x.nix | ||
configuration-ghc-8.10.x.nix | ||
configuration-ghc-9.0.x.nix | ||
configuration-ghc-head.nix | ||
configuration-nix.nix | ||
configuration-tensorflow.nix | ||
default.nix | ||
generic-builder.nix | ||
generic-stack-builder.nix | ||
hackage-packages.nix | ||
HACKING.md | ||
hoogle-local-wrapper.sh | ||
hoogle.nix | ||
initial-packages.nix | ||
lib.nix | ||
make-package-set.nix | ||
non-hackage-packages.nix | ||
package-list.nix | ||
stack-hook.sh | ||
with-packages-wrapper.nix |