Commit e68c09ae authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Win32: be compatible with GCC version bigger than 4.x

parent d671e85e
...@@ -74,7 +74,7 @@ ...@@ -74,7 +74,7 @@
/* Format string sanity checks */ /* Format string sanity checks */
#ifdef __GNUC__ #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))) # define LIBVLC_FORMAT(x,y) __attribute__ ((format(gnu_printf,x,y)))
# else # else
# define LIBVLC_FORMAT(x,y) __attribute__ ((format(printf,x,y))) # define LIBVLC_FORMAT(x,y) __attribute__ ((format(printf,x,y)))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment