Commit 08d7a20d authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Only check msleep on Linux (seems to depend on GNU ELF extensions)

parent 4dcbda16
......@@ -68,13 +68,9 @@ VLC_EXPORT( void, mwait, ( mtime_t date ) );
VLC_EXPORT( void, msleep, ( mtime_t delay ) );
VLC_EXPORT( char *, secstotimestr, ( char *psz_buffer, int secs ) );
#ifdef __GNUC__
# ifdef __linux__
#if defined (__GNUC__) && defined (__linux__)
# define VLC_HARD_MIN_SLEEP 1000 /* Linux has 100, 250, 300 or 1000Hz */
# else
# define VLC_HARD_MIN_SLEEP 0
# endif
#define VLC_SOFT_MIN_SLEEP 9000000
# define VLC_SOFT_MIN_SLEEP 9000000
static
__attribute__((unused))
......
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