Make the current revision number available

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403444
This commit is contained in:
Sam Lantinga 2009-01-04 05:08:12 +00:00
parent 1a8812eeb6
commit 0fde9f06da
6 changed files with 73 additions and 10 deletions

View file

@ -296,6 +296,13 @@ SDL_GetVersion(SDL_version * ver)
SDL_VERSION(ver);
}
/* Get the library source revision */
int
SDL_GetRevision()
{
SDL_REVISION;
}
#if defined(__OS2__)
/* Building for OS/2 */
#ifdef __WATCOMC__