diff options
Diffstat (limited to 'japanese/mozc-server/files/patch-base_mutex.cc')
-rw-r--r-- | japanese/mozc-server/files/patch-base_mutex.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/japanese/mozc-server/files/patch-base_mutex.cc b/japanese/mozc-server/files/patch-base_mutex.cc index a11517f467a9..5d36cf708388 100644 --- a/japanese/mozc-server/files/patch-base_mutex.cc +++ b/japanese/mozc-server/files/patch-base_mutex.cc @@ -1,11 +1,11 @@ ---- base/mutex.cc.orig 2013-04-21 03:48:45.170269862 +0900 -+++ base/mutex.cc 2013-04-21 04:16:39.083269637 +0900 +--- base/mutex.cc.orig 2013-03-29 13:33:43.000000000 +0900 ++++ base/mutex.cc 2013-04-27 15:37:37.000000000 +0900 @@ -296,7 +296,7 @@ // PTHREAD_MUTEX_RECURSIVE_NP but Mac OS X 10.5 does not pthread_mutexattr_t attr; pthread_mutexattr_init(&attr); -#if defined(OS_MACOSX) -+#if defined(OS_MACOSX) || defined(__FreeBSD__) ++#if defined(OS_MACOSX) || defined(OS_FREEBSD) pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE); #elif defined(OS_LINUX) pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE_NP); |