X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=mono%2Futils%2Fmono-semaphore.h;h=bde196a10a21c2fb7ae8f9d955ab1f93d59f6451;hb=f97e03f284f239e14ab308800679c1b2f0b04f64;hp=305ac25e53dcdb7118c86a9011846c52d58265fa;hpb=5e8455db108ec413ab230db1b8b440875de86861;p=mono.git diff --git a/mono/utils/mono-semaphore.h b/mono/utils/mono-semaphore.h index 305ac25e53d..bde196a10a2 100644 --- a/mono/utils/mono-semaphore.h +++ b/mono/utils/mono-semaphore.h @@ -12,12 +12,13 @@ #include #include -#ifdef HAVE_SEMAPHORE_H +#include +#if defined(HAVE_SEMAPHORE_H) && !defined(HOST_WIN32) #include #endif #include -#if (defined(HAVE_SEMAPHORE_H) || defined(USE_MACH_SEMA)) && !defined(__APPLE__) +#if (defined (HAVE_SEMAPHORE_H) || defined (USE_MACH_SEMA)) && !defined(HOST_WIN32) # define MONO_HAS_SEMAPHORES # if defined (USE_MACH_SEMA)