diff options
author | wm4 <wm4@nowhere> | 2014-09-10 03:29:24 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-09-10 03:29:24 +0200 |
commit | 524db3384b14421fd0ecd6b2572105b9a105b53c (patch) | |
tree | a9f38294813da1941dcaf1422dfc6c7700cbb3d5 /osdep | |
parent | e9b756c7ad7d51b41b2ccf0f72eb904b0eea2169 (diff) | |
download | mpv-524db3384b14421fd0ecd6b2572105b9a105b53c.tar.bz2 mpv-524db3384b14421fd0ecd6b2572105b9a105b53c.tar.xz |
osdep: fix windows build
Oops.
Diffstat (limited to 'osdep')
-rw-r--r-- | osdep/semaphore_osx.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/osdep/semaphore_osx.c b/osdep/semaphore_osx.c index 72173f9564..0d5b6f4d00 100644 --- a/osdep/semaphore_osx.c +++ b/osdep/semaphore_osx.c @@ -11,6 +11,8 @@ * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ +#ifdef MP_SEMAPHORE_EMULATION + #include <unistd.h> #include <poll.h> #include <limits.h> @@ -21,7 +23,6 @@ #include "semaphore.h" -#ifdef MP_SEMAPHORE_EMULATION int mp_sem_init(mp_sem_t *sem, int pshared, unsigned int value) { |