Added a revision number for easy compile-time tests.
This commit is contained in:
parent
d5af47a5c7
commit
e7aaeec596
5 changed files with 26 additions and 4 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue