Commit 4bc6094e authored by rswindell's avatar rswindell
Browse files

Build with main() rather than CIOLIB_main() if either JSDOCS_BUILD or

WITH_SDL are not defined. This should fix JSDCOS builds for those without
libsdl1.2-dev installed - but really, you want SDL installed to get the
full docs, I think.
parent 0d7eb6ee
......@@ -1355,7 +1355,7 @@ static void show_usage(char *cmd)
/****************************************************************************/
/* Main Entry Point */
/****************************************************************************/
#ifdef BUILD_JSDOCS
#if defined(BUILD_JSDOCS) && defined(WITH_SDL)
int CIOLIB_main(int argc, char** argv)
#else
int main(int argc, char** argv)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment