added some ifdefs to make testcode compile for apple2 and atari targets

This commit is contained in:
mrdudz
2020-08-26 15:08:17 +02:00
parent d21fbed1bb
commit e5a1755133
4 changed files with 22 additions and 9 deletions

View File

@@ -214,10 +214,10 @@ int main (void)
/* Show info at start */
ShowInfo ();
#if !defined(__APPLE2__)
/* Remember the time */
T = clock ();
#endif
/* Do the tests */
Test1 ();
Test2 ();
@@ -226,10 +226,11 @@ int main (void)
Test5 ();
Test6 ();
#if !defined(__APPLE2__)
/* Calculate the time and print it */
T = clock () - T;
printf ("Time needed: %lu ticks\n", T);
#endif
/* Done */
return EXIT_SUCCESS;
}