got the command-line build of PJ64 to link and run

This commit is contained in:
unknown 2015-09-14 16:03:23 -04:00
parent e6f5e495f2
commit 1a67309f66
1 changed files with 6 additions and 3 deletions

View File

@ -181,13 +181,16 @@ const char * AppName ( void )
#ifndef WINDOWS_UI
int main(int argc, char* argv[])
{
#error Cross-platform [graphical?] interface has not yet been implemented.
// Remove this #error to compile, but linking will fail with about 10 errors.
while (argc >= 0)
{
puts(argv[--argc]);
}
putchar('\n');
fprintf(
stderr,
"Cross-platform (graphical/terminal?) UI not yet implemented.\n"
);
return 0;
}
#else