[SDL] Getting SDL version

Brad braddabug at comcast.net
Wed Sep 4 12:22:01 PDT 2002


I know there's the version defines in version.h, but if I did something 
like this:

printf("SDL version = %d.%d.%d", MAJOR, MINOR, PATCH);

then it would just say what version of SDL was used to compile with, not 
what version of the library we're using, so if someone upgraded the 
library, we'd be unable to tell what the current library version was.

Is there a way to tell what version of the library we're using, not what 
was used to compile?





More information about the SDL mailing list