test/testver.c
changeset 4419 5e7e1f1a4056
parent 2983 388c5a2daeac
child 5310 a9945ce48999
equal deleted inserted replaced
4418:be1929ccaa3d 4419:5e7e1f1a4056
    18     printf("Compiled with SDL 1.3 or newer\n");
    18     printf("Compiled with SDL 1.3 or newer\n");
    19 #else
    19 #else
    20     printf("Compiled with SDL older than 1.3\n");
    20     printf("Compiled with SDL older than 1.3\n");
    21 #endif
    21 #endif
    22     SDL_VERSION(&compiled);
    22     SDL_VERSION(&compiled);
    23     printf("Compiled version: %d.%d.%d-%d\n",
    23     printf("Compiled version: %d.%d.%d (%s)\n",
    24            compiled.major, compiled.minor, compiled.patch, SDL_REVISION);
    24            compiled.major, compiled.minor, compiled.patch, SDL_REVISION);
    25     SDL_GetVersion(&linked);
    25     SDL_GetVersion(&linked);
    26     printf("Linked version: %d.%d.%d-%d\n",
    26     printf("Linked version: %d.%d.%d (%s)\n",
    27            linked.major, linked.minor, linked.patch, SDL_GetRevision());
    27            linked.major, linked.minor, linked.patch, SDL_GetRevision());
    28     SDL_Quit();
    28     SDL_Quit();
    29     return (0);
    29     return (0);
    30 }
    30 }