test/testver.c
changeset 5359 d5fe4ed3a28d
parent 5310 a9945ce48999
child 5535 96594ac5fd1a
--- a/test/testver.c	Sun Feb 20 09:28:13 2011 -0800
+++ b/test/testver.c	Sun Feb 20 10:42:51 2011 -0800
@@ -21,11 +21,13 @@
     printf("Compiled with SDL older than 1.3\n");
 #endif
     SDL_VERSION(&compiled);
-    printf("Compiled version: %d.%d.%d (%s)\n",
-           compiled.major, compiled.minor, compiled.patch, SDL_REVISION);
+    printf("Compiled version: %d.%d.%d.%d (%s)\n",
+           compiled.major, compiled.minor, compiled.patch,
+           SDL_REVISION_NUMBER, SDL_REVISION);
     SDL_GetVersion(&linked);
-    printf("Linked version: %d.%d.%d (%s)\n",
-           linked.major, linked.minor, linked.patch, SDL_GetRevision());
+    printf("Linked version: %d.%d.%d.%d (%s)\n",
+           linked.major, linked.minor, linked.patch,
+           SDL_GetRevisionNumber(), SDL_GetRevision());
     SDL_Quit();
     return (0);
 }