Not building on windows
nitrix opened this issue · 2 comments
nitrix commented
Could it be that sdl2-image needs the same fix as sdl2-ttf ?
if os(windows)
cpp-options: -D_SDL_main_h
sbidin commented
I don't have access to a Windows machine at this time, so any comments on this are very welcome.
Rain92 commented
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.