test/testver.c
changeset 5359 d5fe4ed3a28d
parent 5310 a9945ce48999
child 5535 96594ac5fd1a
equal deleted inserted replaced
5358:5b330ef7b8dd 5359:d5fe4ed3a28d
    19     printf("Compiled with SDL 1.3 or newer\n");
    19     printf("Compiled with SDL 1.3 or newer\n");
    20 #else
    20 #else
    21     printf("Compiled with SDL older than 1.3\n");
    21     printf("Compiled with SDL older than 1.3\n");
    22 #endif
    22 #endif
    23     SDL_VERSION(&compiled);
    23     SDL_VERSION(&compiled);
    24     printf("Compiled version: %d.%d.%d (%s)\n",
    24     printf("Compiled version: %d.%d.%d.%d (%s)\n",
    25            compiled.major, compiled.minor, compiled.patch, SDL_REVISION);
    25            compiled.major, compiled.minor, compiled.patch,
       
    26            SDL_REVISION_NUMBER, SDL_REVISION);
    26     SDL_GetVersion(&linked);
    27     SDL_GetVersion(&linked);
    27     printf("Linked version: %d.%d.%d (%s)\n",
    28     printf("Linked version: %d.%d.%d.%d (%s)\n",
    28            linked.major, linked.minor, linked.patch, SDL_GetRevision());
    29            linked.major, linked.minor, linked.patch,
       
    30            SDL_GetRevisionNumber(), SDL_GetRevision());
    29     SDL_Quit();
    31     SDL_Quit();
    30     return (0);
    32     return (0);
    31 }
    33 }