From: RĂ©mi Denis-Courmont Date: Mon, 2 Aug 2010 17:47:20 +0000 (+0300) Subject: Remove CPP contradiction from [5a005c66] X-Git-Tag: 1.2.0-pre1~5582 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=6de554efe1c224a46bb07f90c305295e04c2a08a;p=vlc Remove CPP contradiction from [5a005c66] --- diff --git a/src/misc/mtime.c b/src/misc/mtime.c index 940505de0c..7341a664b5 100644 --- a/src/misc/mtime.c +++ b/src/misc/mtime.c @@ -235,12 +235,6 @@ mtime_t mdate( void ) res = (d.quot * 1000000) + ((d.rem * 1000000) / freq.QuadPart); -#elif defined(USE_APPLE_MACH) - /* The version that should be used, if it was cancelable */ - pthread_once(&mtime_timebase_info_once, mtime_init_timebase); - uint64_t mach_time = date * 1000 * mtime_timebase_info.denom / mtime_timebase_info.numer; - mach_wait_until(mach_time); - #else struct timeval tv_date;