haskell-game/sdl2-image

Not building on windows

nitrix opened this issue · 2 comments

Could it be that sdl2-image needs the same fix as sdl2-ttf ?

if os(windows)
    cpp-options: -D_SDL_main_h

I don't have access to a Windows machine at this time, so any comments on this are very welcome.

I can confirm this.

if os(windows) 
    cpp-options: -D_SDL_main_h

Has to be added to the .cabal file or it won't install. Same issue with sdl2-gfx.