Added a revision number for easy compile-time tests.

This commit is contained in:
Sam Lantinga 2011-02-20 10:42:51 -08:00
parent d5af47a5c7
commit e7aaeec596
5 changed files with 26 additions and 4 deletions

View file

@ -236,6 +236,13 @@ SDL_GetRevision(void)
return SDL_REVISION;
}
/* Get the library source revision number */
int
SDL_GetRevisionNumber(void)
{
return SDL_REVISION_NUMBER;
}
/* Get the name of the platform */
const char *
SDL_GetPlatform()