Skip to content

Commit

Permalink
Backed out change 7d3df1df4e91 which was: Fixed bug 3320 - SDL_window…
Browse files Browse the repository at this point in the history
…s_main.c defines both console application entry points

With that change only the wmain() entry point was defined, and applications that linked with main() would no longer build.
  • Loading branch information
slouken committed Oct 13, 2016
1 parent 4c9f313 commit 14e7da7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/main/windows/SDL_windows_main.c
Expand Up @@ -110,10 +110,9 @@ OutOfMemory(void)

#if defined(_MSC_VER)
/* The VC++ compiler needs main/wmain defined */
# define console_ansi_main main
# if UNICODE
# define console_wmain wmain
# else
# define console_ansi_main main
# endif
#endif

Expand Down

0 comments on commit 14e7da7

Please sign in to comment.