OSDN Git Service
(root)
/
handbrake-jp
/
handbrake-jp-git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
533776b
)
libhb: Fix linux compilation. Only set the pthread mutex type on cygwin since it...
author
eddyg
<eddyg@b64f7644-9d1e-0410-96f1-a4d463321fa5>
Fri, 10 Oct 2008 00:41:15 +0000
(
00:41
+0000)
committer
eddyg
<eddyg@b64f7644-9d1e-0410-96f1-a4d463321fa5>
Fri, 10 Oct 2008 00:41:15 +0000
(
00:41
+0000)
git-svn-id: svn://localhost/HandBrake/trunk@1824
b64f7644
-9d1e-0410-96f1-
a4d463321fa5
libhb/ports.c
patch
|
blob
|
history
diff --git
a/libhb/ports.c
b/libhb/ports.c
index
10f84dc
..
3754a45
100644
(file)
--- a/
libhb/ports.c
+++ b/
libhb/ports.c
@@
-412,7
+412,10
@@
hb_lock_t * hb_lock_init()
pthread_mutexattr_t mta;
pthread_mutexattr_init(&mta);
+
+#if defined( SYS_CYGWIN )
pthread_mutexattr_settype(&mta, PTHREAD_MUTEX_NORMAL);
+#endif
pthread_mutex_init( &l->mutex, &mta );
//#elif defined( SYS_CYGWIN )