Build examples and games on Travis CI

They were disabled because they failed to build,
but this patch set fixes the build on Linux and macOS.

This doesn't apply to the AppVeyor build on Windows yet;
it currently fails at linking with OpenAL.
This commit is contained in:
Ahmad Fatoum
2017-11-25 20:27:53 +01:00
parent 853cc6f4c9
commit f991a075e1
7 changed files with 39 additions and 14 deletions

View File

@ -63,7 +63,7 @@ static void UpdateDrawFrame(void); // Update and Draw one frame
#if defined(PLATFORM_ANDROID)
void android_main(struct android_app *app)
#else
int main(void)
int main(int argc, char *argv[])
#endif
{
// Initialization
@ -315,4 +315,4 @@ static void UpdateDrawFrame(void)
EndDrawing();
//----------------------------------------------------------------------------------
}
}