mpv/osdep
wm4 34fac3bf68 osdep: hack to fix build with low quality pthreads-w32 headers
When compiling semaphore_osx.c on win32, the following error happened:

/usr/i686-w64-mingw32/include/semaphore.h:160:6: error: unknown type name 'mode_t'

This is because this system header references symbols that are not
not defined anywhere. This is clearly a bug in pthreads-w32, but has
been known and unfixed since 2012, so add a hack to fix it.

We build semaphore_osx.c this way because it saves us an extra configure
check. On win32, Linux, etc. it's empty and contains
"#include <semaphore.h>" only.

Should fix #1108.
2014-09-20 04:18:40 +02:00
..
ar
atomics.h Move compat/ and bstr/ directory contents somewhere else 2014-08-29 12:31:52 +02:00
compiler.h Move compat/ and bstr/ directory contents somewhere else 2014-08-29 12:31:52 +02:00
endian.h build: deal with endian mess 2014-07-10 00:58:56 +02:00
glob-win.c glob-win: support Unicode 2014-04-21 02:57:16 +02:00
io.c win32: add tmpfile() replacement 2014-09-05 17:51:44 +02:00
io.h win32: add tmpfile() replacement 2014-09-05 17:51:44 +02:00
macosx_application.h cocoa: move set_input_context to macosx_events 2014-08-06 09:31:58 +02:00
macosx_application.m cocoa: move handleFilesArray: to macosx_events 2014-08-06 09:31:58 +02:00
macosx_application_objc.h cocoa: move handleFilesArray: to macosx_events 2014-08-06 09:31:58 +02:00
macosx_compat.h cocoa: fix compilation on OS X 10.8 2014-07-14 07:21:44 +02:00
macosx_events.h cocoa: move set_input_context to macosx_events 2014-08-06 09:31:58 +02:00
macosx_events.m cocoa: move handleFilesArray: to macosx_events 2014-08-06 09:31:58 +02:00
macosx_events_objc.h cocoa: move handleFilesArray: to macosx_events 2014-08-06 09:31:58 +02:00
macosx_versions.h cocoa: fix compilation on OS X 10.8 2014-07-14 07:21:44 +02:00
mpbswap.h Move compat/ and bstr/ directory contents somewhere else 2014-08-29 12:31:52 +02:00
mpv.exe.manifest
mpv.rc
numcores.c
numcores.h
path-macosx.m config: use the same signature for win32/OSX specific path functions 2014-06-26 19:56:45 +02:00
path-win.c config: use the same signature for win32/OSX specific path functions 2014-06-26 19:56:45 +02:00
path.h config: use the same signature for win32/OSX specific path functions 2014-06-26 19:56:45 +02:00
semaphore.h osdep: hack to fix build with low quality pthreads-w32 headers 2014-09-20 04:18:40 +02:00
semaphore_osx.c osdep/semaphore_osx.c: Include osdep/semaphore.h before #ifdef 2014-09-10 17:22:20 +09:00
terminal-unix.c terminal-unix: don't read from stdin if it's not a terminal 2014-09-10 00:48:12 +02:00
terminal-win.c terminal-unix: move to thread 2014-09-10 00:48:12 +02:00
terminal.h terminal-unix: move to thread 2014-09-10 00:48:12 +02:00
threads.c threads: use mpv time for mpthread_cond_timedwait wrapper 2014-05-18 19:20:32 +02:00
threads.h threads: use mpv time for mpthread_cond_timedwait wrapper 2014-05-18 19:20:32 +02:00
timer-darwin.c
timer-linux.c
timer-win2.c
timer.c timer: remove unneeded time_t overflow check 2014-05-24 16:17:45 +02:00
timer.h threads: use mpv time for mpthread_cond_timedwait wrapper 2014-05-18 19:20:32 +02:00
w32_keyboard.c
w32_keyboard.h
win32-console-wrapper.c