[vlc-devel] commit: Remove compile-time check warnings on GCC 3 ( Rémi Denis-Courmont )

git version control git at videolan.org
Sun May 31 21:31:05 CEST 2009


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Thu May 28 19:51:56 2009 +0300| [6520db28ddffcc6e3be403d28b6897cd51fc65cb] | committer: Rémi Denis-Courmont 

Remove compile-time check warnings on GCC 3

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=6520db28ddffcc6e3be403d28b6897cd51fc65cb
---

 include/vlc_mtime.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/include/vlc_mtime.h b/include/vlc_mtime.h
index 0a75dac..8c86e2f 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
 




More information about the vlc-devel mailing list