Added some parentheses for a little more macro safety. Recommended by Petri
Kero, here: http://www.devolution.com/pipermail/sdl/2005-March/067630.html --HG-- extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401047
This commit is contained in:
parent
dc6bb60504
commit
20dbe0d931
3 changed files with 3 additions and 3 deletions
|
@ -65,7 +65,7 @@ typedef struct SDL_version {
|
|||
This assumes that there will never be more than 100 patchlevels
|
||||
*/
|
||||
#define SDL_VERSIONNUM(X, Y, Z) \
|
||||
(X)*1000 + (Y)*100 + (Z)
|
||||
((X)*1000 + (Y)*100 + (Z))
|
||||
|
||||
/* This is the version number macro for the current SDL version */
|
||||
#define SDL_COMPILEDVERSION \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue