]> git.sesse.net Git - vlc/blobdiff - include/vlc_common.h
libvlc: introduce 'Muted' as a whole state, not as volume 0
[vlc] / include / vlc_common.h
index b2b3b4af2ba1cc4711a2ba6ece1a8a54976aefd3..14a308101ecbe25e39d7a2935d770ddb3b7ef56e 100644 (file)
@@ -74,7 +74,7 @@
 
 /* Format string sanity checks */
 #ifdef __GNUC__
-#   if defined( _WIN32 ) && __GNUC__ >= 4 && __GNUC_MINOR__ >= 4
+#   if defined( _WIN32 ) && (__GNUC__ > 4 || ( __GNUC__ == 4 && __GNUC_MINOR__ >= 4 ) )
 #     define LIBVLC_FORMAT(x,y) __attribute__ ((format(gnu_printf,x,y)))
 #   else
 #     define LIBVLC_FORMAT(x,y) __attribute__ ((format(printf,x,y)))