From 524db3384b14421fd0ecd6b2572105b9a105b53c Mon Sep 17 00:00:00 2001 From: wm4 Date: Wed, 10 Sep 2014 03:29:24 +0200 Subject: [PATCH] osdep: fix windows build Oops. --- osdep/semaphore_osx.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 #include #include @@ -21,7 +23,6 @@ #include "semaphore.h" -#ifdef MP_SEMAPHORE_EMULATION int mp_sem_init(mp_sem_t *sem, int pshared, unsigned int value) {