diff --git a/.appveyor.yml b/.appveyor.yml index 0c9b099..184fcb0 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -61,7 +61,7 @@ build_script: # Build - |- cmake --version - cmake -DCMAKE_PREFIX_PATH="%PREFIX%" -DCMAKE_C_COMPILER=mingw32-gcc.exe -DCMAKE_CXX_COMPILER=mingw32-c++.exe -DCMAKE_MAKE_PROGRAM=mingw32-make.exe -DCMAKE_VERBOSE_MAKEFILE=ON -DSTANDALONE=ON -DCMAKE_INSTALL_PREFIX="C:\breakhack" -G "MinGW Makefiles" + cmake -DCMAKE_PREFIX_PATH="%PREFIX%" -DCMAKE_C_COMPILER=mingw32-gcc.exe -DCMAKE_MAKE_PROGRAM=mingw32-make.exe -DCMAKE_VERBOSE_MAKEFILE=ON -G "MinGW Makefiles" - |- mingw32-make diff --git a/src/main.c b/src/main.c index 30983cc..7b338c3 100644 --- a/src/main.c +++ b/src/main.c @@ -187,8 +187,11 @@ void close(void) SDL_Quit(); } -int main(void) +int main(int argc, char *argv[]) { + UNUSED(argc); + UNUSED(argv); + if (!init()) return 1;