From 6520db28ddffcc6e3be403d28b6897cd51fc65cb Mon Sep 17 00:00:00 2001 From: =?utf8?q?R=C3=A9mi=20Denis-Courmont?= Date: Thu, 28 May 2009 19:51:56 +0300 Subject: [PATCH] Remove compile-time check warnings on GCC 3 --- include/vlc_mtime.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.2