Use this function to get the code revision of SDL that is linked against your program.
const char* SDL_GetRevision(void)
Returns an arbitrary string, uniquely identifying the exact revision of the SDL library in use.
You can add your code example here
The revision is a string including sequential revision number that is incremented with each commit, and a hash of the last code change.
This value is the revision of the code you are linked with and may be different from the code you are compiling with, which is found in the constant SDL_REVISION.