diff options
author | Tomasz Kramkowski <tk@the-tk.com> | 2018-05-04 20:49:18 +0100 |
---|---|---|
committer | Tomasz Kramkowski <tk@the-tk.com> | 2018-05-04 20:49:18 +0100 |
commit | 1cc639dc67b3a063e9d8cbff62a4b63e2d607d89 (patch) | |
tree | 3d2e7d2a2c1ade4cdb79b837091916a5823d3267 | |
parent | baa9d24f09703a1846e8b2fd63deb19aad59cae8 (diff) | |
download | faqe-1cc639dc67b3a063e9d8cbff62a4b63e2d607d89.tar.gz faqe-1cc639dc67b3a063e9d8cbff62a4b63e2d607d89.tar.xz faqe-1cc639dc67b3a063e9d8cbff62a4b63e2d607d89.zip |
faqe.c: main now returns 0 to fix SDL_main on windows
On windows SDL replaces main with SDL_main and uses a WinMain function.
SDL_main is not main so it must return something.
-rw-r--r-- | faqe.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -194,4 +194,6 @@ int main(int argc, char **argv) SDL_DestroyWindow(win); SDL_Quit(); + + return 0; } |