test/testver.c
changeset 5359 d5fe4ed3a28d
parent 5310 a9945ce48999
child 5535 96594ac5fd1a
     1.1 --- a/test/testver.c	Sun Feb 20 09:28:13 2011 -0800
     1.2 +++ b/test/testver.c	Sun Feb 20 10:42:51 2011 -0800
     1.3 @@ -21,11 +21,13 @@
     1.4      printf("Compiled with SDL older than 1.3\n");
     1.5  #endif
     1.6      SDL_VERSION(&compiled);
     1.7 -    printf("Compiled version: %d.%d.%d (%s)\n",
     1.8 -           compiled.major, compiled.minor, compiled.patch, SDL_REVISION);
     1.9 +    printf("Compiled version: %d.%d.%d.%d (%s)\n",
    1.10 +           compiled.major, compiled.minor, compiled.patch,
    1.11 +           SDL_REVISION_NUMBER, SDL_REVISION);
    1.12      SDL_GetVersion(&linked);
    1.13 -    printf("Linked version: %d.%d.%d (%s)\n",
    1.14 -           linked.major, linked.minor, linked.patch, SDL_GetRevision());
    1.15 +    printf("Linked version: %d.%d.%d.%d (%s)\n",
    1.16 +           linked.major, linked.minor, linked.patch,
    1.17 +           SDL_GetRevisionNumber(), SDL_GetRevision());
    1.18      SDL_Quit();
    1.19      return (0);
    1.20  }