mirror of
https://github.com/Relintai/sdl2_frt.git
synced 2024-12-16 11:06:49 +01:00
Backed out change 7d3df1df4e91 which was: Fixed bug 3320 - SDL_windows_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.
This commit is contained in:
parent
4c9f31398f
commit
14e7da75b2
@ -110,10 +110,9 @@ OutOfMemory(void)
|
|||||||
|
|
||||||
#if defined(_MSC_VER)
|
#if defined(_MSC_VER)
|
||||||
/* The VC++ compiler needs main/wmain defined */
|
/* The VC++ compiler needs main/wmain defined */
|
||||||
|
# define console_ansi_main main
|
||||||
# if UNICODE
|
# if UNICODE
|
||||||
# define console_wmain wmain
|
# define console_wmain wmain
|
||||||
# else
|
|
||||||
# define console_ansi_main main
|
|
||||||
# endif
|
# endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user