From: RĂ©mi Denis-Courmont Date: Thu, 28 May 2009 16:51:56 +0000 (+0300) Subject: Remove compile-time check warnings on GCC 3 X-Git-Tag: 1.1.0-ff~5665^2^2 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=6520db28ddffcc6e3be403d28b6897cd51fc65cb;p=vlc Remove compile-time check warnings on GCC 3 --- diff --git a/include/vlc_mtime.h b/include/vlc_mtime.h index 0a75dacdf9..8c86e2f5c8 100644 --- a/include/vlc_mtime.h +++ b/include/vlc_mtime.h @@ -68,7 +68,7 @@ VLC_EXPORT( void, mwait, ( mtime_t date ) ); VLC_EXPORT( void, msleep, ( mtime_t delay ) ); VLC_EXPORT( char *, secstotimestr, ( char *psz_buffer, int secs ) ); -#if defined (__GNUC__) && defined (__linux__) +#if defined (__GNUC__) && (__GNUC__ >= 4) && defined (__linux__) # define VLC_HARD_MIN_SLEEP 1000 /* Linux has 100, 250, 300 or 1000Hz */ # define VLC_SOFT_MIN_SLEEP 9000000