]> git.sesse.net Git - vlc/blobdiff - src/misc/mtime.c
Broadcast when the object is killed
[vlc] / src / misc / mtime.c
index 5ad852a2b9cf73354b5fc9b4c18f1eff441a64c6..37a28f928b9474cd001673b8b32b228f1536d596 100644 (file)
@@ -314,6 +314,7 @@ mtime_t mdate( void )
     return res;
 }
 
+#undef mwait
 /**
  * Wait for a date
  *
@@ -373,7 +374,7 @@ void mwait( mtime_t date )
 void msleep( mtime_t delay )
 {
 #ifndef NDEBUG
-# if defined (__linux__) || defined (WIN32)
+# if defined (__linux__)
     /* We assume that proper use of msleep() will not use a constant period...
      * Media synchronization is likely to use mwait() with at least slight
      * sleep length variation at microsecond precision. Network protocols