diff --git a/test/test_physfs.c b/test/test_physfs.c index 07d0aff..b289a70 100644 --- a/test/test_physfs.c +++ b/test/test_physfs.c @@ -11,6 +11,10 @@ #include #include +#if (defined __MWERKS__) +#include +#endif + #if ((!defined WIN32) && (!defined __MACOS__)) #define HAVE_READLINE #endif @@ -587,6 +591,14 @@ int main(int argc, char **argv) char *buf = NULL; int rc = 0; +#if (defined __MWERKS__) + extern tSIOUXSettings SIOUXSettings; + SIOUXSettings.asktosaveonclose = 0; + SIOUXSettings.autocloseonquit = 1; + SIOUXSettings.rows = 40; + SIOUXSettings.columns = 120; +#endif + printf("\n"); if (!PHYSFS_init(argv[0]))