[vlc-commits] win32: avoid the POSIX timer API for now

Rémi Denis-Courmont git at videolan.org
Fri Jun 21 17:59:00 CEST 2013


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Fri Jun 21 18:58:45 2013 +0300| [398bac6ba1602e40aaa3a9cedaf2fdce608876f9] | committer: Rémi Denis-Courmont

win32: avoid the POSIX timer API for now

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=398bac6ba1602e40aaa3a9cedaf2fdce608876f9
---

 src/misc/mtime.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/misc/mtime.c b/src/misc/mtime.c
index dd95a61..9e22a70 100644
--- a/src/misc/mtime.c
+++ b/src/misc/mtime.c
@@ -39,7 +39,7 @@
 #ifdef HAVE_UNISTD_H
 # include <unistd.h>
 #endif
-#if !defined (_POSIX_TIMERS)
+#if !defined (_POSIX_TIMERS) || defined (_WIN32)
 # define _POSIX_TIMERS (-1)
 #endif
 #if (_POSIX_TIMERS > 0)



More information about the vlc-commits mailing list