From c25c92ec0bdb07c94d13e833e0cb7dffc86de0d3 Mon Sep 17 00:00:00 2001 From: Benny Prijono Date: Fri, 8 Feb 2008 15:18:20 +0000 Subject: More ticket #470: semaphore got disabled on Mingw because semaphore.h is not present git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1787 74dad513-b988-da41-8d7b-12977e46ad98 --- pjlib/include/pj/compat/os_auto.h.in | 2 ++ 1 file changed, 2 insertions(+) (limited to 'pjlib/include') diff --git a/pjlib/include/pj/compat/os_auto.h.in b/pjlib/include/pj/compat/os_auto.h.in index 32952c8f..6ce05d43 100644 --- a/pjlib/include/pj/compat/os_auto.h.in +++ b/pjlib/include/pj/compat/os_auto.h.in @@ -83,6 +83,8 @@ /* On these OSes, semaphore feature depends on semaphore.h */ #if defined(PJ_HAS_SEMAPHORE_H) && PJ_HAS_SEMAPHORE_H!=0 # define PJ_HAS_SEMAPHORE 1 +#elif defined(PJ_WIN32) && PJ_WIN32!=0 +# define PJ_HAS_SEMAPHORE 1 #else # define PJ_HAS_SEMAPHORE 0 #endif -- cgit v1.2.3