projects
/
libusual.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
39817b2
)
pthread: missing HAVE_PTHREAD_H check
author
Marko Kreen
<
[email protected]
>
Fri, 4 Jan 2013 22:53:20 +0000
(
00:53
+0200)
committer
Marko Kreen
<
[email protected]
>
Fri, 4 Jan 2013 22:53:20 +0000
(
00:53
+0200)
usual/pthread.c
patch
|
blob
|
blame
|
history
diff --git
a/usual/pthread.c
b/usual/pthread.c
index ca1cb75d305577b167b18afca8d197e82828e5ee..c0e6ff8fb5d34ca44b1063b243e1f1e5db624b05 100644
(file)
--- a/
usual/pthread.c
+++ b/
usual/pthread.c
@@
-19,6
+19,7
@@
#include <usual/pthread.h>
+#ifndef HAVE_PTHREAD_H
#ifdef WIN32
/*
* basic pthreads for win32.
@@
-90,4
+91,4
@@
int pthread_mutex_unlock(pthread_mutex_t *lock)
}
#endif /* win32 */
-
+#endif /* !HAVE_PTHREAD_H */