diff options
author | Benny Prijono <bennylp@teluu.com> | 2008-02-08 15:18:20 +0000 |
---|---|---|
committer | Benny Prijono <bennylp@teluu.com> | 2008-02-08 15:18:20 +0000 |
commit | c25c92ec0bdb07c94d13e833e0cb7dffc86de0d3 (patch) | |
tree | 83f3da8b37c9fe67a7553f4e6b26cae21c713288 /pjlib | |
parent | 173b4c6b96030dcb4dc3b16e8011fb443d891cb9 (diff) |
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
Diffstat (limited to 'pjlib')
-rw-r--r-- | pjlib/include/pj/compat/os_auto.h.in | 2 |
1 files changed, 2 insertions, 0 deletions
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 |