Fixed compile error in timer test program if PRIu64 not available.
authorPhilipp Wiesemann <philipp.wiesemann@arcor.de>
Tue, 01 Dec 2015 22:24:04 +0100
changeset 9939 6ccf11a01cb5
parent 9938 c1bdce8e9c64
child 9940 f2d5ed0d9686
Fixed compile error in timer test program if PRIu64 not available.
test/testtimer.c
--- a/test/testtimer.c	Tue Dec 01 22:22:58 2015 +0100
+++ b/test/testtimer.c	Tue Dec 01 22:24:04 2015 +0100
@@ -107,7 +107,7 @@
     now = SDL_GetPerformanceCounter();
     SDL_Log("1 million iterations of ticktock took %f ms\n", (double)((now - start)*1000) / SDL_GetPerformanceFrequency());
 
-    SDL_Log("Performance counter frequency: %"PRIu64"\n", (unsigned long long) SDL_GetPerformanceFrequency());
+    SDL_Log("Performance counter frequency: %"SDL_PRIu64"\n", (unsigned long long) SDL_GetPerformanceFrequency());
     start32 = SDL_GetTicks();
     start = SDL_GetPerformanceCounter();
     SDL_Delay(1000);