blob: 36c60451b3bb6954f276e46f8aad6ffe32ab728f (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
--- libssh-0.6.3/src/threads/pthread.c.orig 2014-03-16 23:41:28.498600000 +0400
+++ libssh-0.6.3/src/threads/pthread.c 2014-03-16 23:41:53.318200000 +0400
@@ -75,7 +75,7 @@
}
static unsigned long ssh_pthread_thread_id (void){
-#if _WIN32
+#if defined(_WIN32) && !defined(__MINGW32__)
return (unsigned long) pthread_self().p;
#else
return (unsigned long) pthread_self();
|