[vlc-devel] commit: OpenBSD also need VLC_HARD_MIN_SLEEP. ( Rémi Duraffort )
git version control
git at videolan.org
Tue Nov 10 17:18:09 CET 2009
vlc | branch: master | Rémi Duraffort <ivoire at videolan.org> | Tue Nov 10 12:40:08 2009 +0100| [e230861e171c4ea9e2b980effba0b72da4f7ee07] | committer: Rémi Duraffort
OpenBSD also need VLC_HARD_MIN_SLEEP.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=e230861e171c4ea9e2b980effba0b72da4f7ee07
---
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 c8101f4..477e7aa 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__)) || defined (__FreeBSD__)
+#if (defined (__GNUC__) && defined (__linux__)) || defined (__FreeBSD__) || defined (__OpenBSD__)
/* Linux has 100, 250, 300 or 1000Hz
*
* HZ=100 by default on FreeBSD, but some architectures use a 1000Hz timer
More information about the vlc-devel
mailing list