diff include/SDL_version.h @ 1046:f09d5edfc7a3

Added some parentheses for a little more macro safety. Recommended by Petri Kero, here: http://www.devolution.com/pipermail/sdl/2005-March/067630.html
author Ryan C. Gordon <icculus@icculus.org>
date Sun, 17 Apr 2005 10:16:30 +0000
parents cca9aeb2934f
children 09c1408645df
line wrap: on
line diff
--- a/include/SDL_version.h	Fri Apr 01 15:19:26 2005 +0000
+++ b/include/SDL_version.h	Sun Apr 17 10:16:30 2005 +0000
@@ -65,7 +65,7 @@
    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 \