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?
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?