Commit 74de09ad4ee5fa4b99a2c78591e8eaa74f920249

Philipp Wiesemann 2015-12-01T22:24:04

Fixed compile error in timer test program if PRIu64 not available.

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/test/testtimer.c b/test/testtimer.c
index 5d8d8c7..7540d55 100644
--- a/test/testtimer.c
+++ b/test/testtimer.c
@@ -107,7 +107,7 @@ main(int argc, char *argv[])
     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);