diff options
author | June McEnroe <june@causal.agency> | 2022-01-19 20:31:26 -0500 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2022-01-19 20:31:26 -0500 |
commit | cb8d1b637275434b64bdcd448afd2e9a2e269f80 (patch) | |
tree | 4db93b9aae7bc36c0cc6340f533cf2bb948b35e4 /sol.c | |
parent | Allow choosing freecell game on command line (diff) | |
download | wep-cb8d1b637275434b64bdcd448afd2e9a2e269f80.tar.gz wep-cb8d1b637275434b64bdcd448afd2e9a2e269f80.zip |
Replace build system with cmake
Thanks to cr1901 for helping to test this on Windows.
Diffstat (limited to 'sol.c')
-rw-r--r-- | sol.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sol.c b/sol.c index 5622395..48a61a2 100644 --- a/sol.c +++ b/sol.c @@ -320,7 +320,10 @@ static void err(const char *title) { exit(EXIT_FAILURE); } -int main(void) { +int main(int argc, char *argv[]) { + (void)argc; + (void)argv; + if (SDL_Init(SDL_INIT_VIDEO) < 0) err("SDL_Init"); atexit(SDL_Quit); |