X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=mono%2Futils%2Fmono-semaphore.h;h=bde196a10a21c2fb7ae8f9d955ab1f93d59f6451;hb=f97e03f284f239e14ab308800679c1b2f0b04f64;hp=d6be806efe5a2b14a52129a46b72745490d5413a;hpb=0900c61969ca862b0bcc967b4413e539acf07dbb;p=mono.git diff --git a/mono/utils/mono-semaphore.h b/mono/utils/mono-semaphore.h index d6be806efe5..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) +#if (defined (HAVE_SEMAPHORE_H) || defined (USE_MACH_SEMA)) && !defined(HOST_WIN32) # define MONO_HAS_SEMAPHORES # if defined (USE_MACH_SEMA)