Added testnative to the Makefile and fixed building on Mac OS X

This commit is contained in:
Sam Lantinga 2012-01-07 16:57:09 -05:00
parent d0375e624c
commit e9cad496a6
3 changed files with 35 additions and 26 deletions

View file

@ -359,6 +359,10 @@ CommonArg(CommonState * state, int index)
/* Print the usage message */
return -1;
}
if (SDL_strcmp(argv[index], "-NSDocumentRevisionsDebugMode") == 0) {
/* Debug flag sent by Xcode */
return 2;
}
return 0;
}