[vlc-devel] [PATCH 21/23] HACK: avoid linker warning about error and warning attributes

Rémi Denis-Courmont remi at remlab.net
Sat Oct 3 19:52:28 CEST 2009


The Fremantle toolchain does not seem to support those extensions.
---
 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 49f53ca..f2188dd 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 0 //defined (__GNUC__) && defined (__linux__)
 # define VLC_HARD_MIN_SLEEP 10000 /* Linux has 100, 250, 300 or 1000Hz */
 # define VLC_SOFT_MIN_SLEEP 9000000
 
-- 
1.6.4.3




More information about the vlc-devel mailing list