Skip to content

Commit

Permalink
Fix Windows 10 build error by defining SDL_MAIN_HANDLED macro (#10)
Browse files Browse the repository at this point in the history
  • Loading branch information
Krantz-XRF authored and sbidin committed Jul 2, 2019
1 parent ab036e1 commit 382395c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sdl2-image.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ library
Haskell2010

if os(windows)
cpp-options: -D_SDL_main_h -DSDL_main_h_
cpp-options: -D_SDL_main_h -DSDL_main_h_ -DSDL_MAIN_HANDLED

flag example
description: Build the example executable
Expand Down

0 comments on commit 382395c

Please sign in to comment.