1
0
mirror of https://git.libssh.org/projects/libssh.git synced 2025-11-30 13:01:23 +03:00

threads: Fixed windows build.

MSVC isn't C99.
This commit is contained in:
Andreas Schneider
2010-09-28 19:12:01 +02:00
parent b391a7603a
commit 9d3b84c914

View File

@@ -41,12 +41,12 @@ static unsigned long threads_id_noop (void){
struct ssh_threads_callbacks_struct ssh_threads_noop =
{
.type="threads_noop",
.mutex_init=threads_noop,
.mutex_destroy=threads_noop,
.mutex_lock=threads_noop,
.mutex_unlock=threads_noop,
.thread_id=threads_id_noop
"threads_noop",
threads_noop,
threads_noop,
threads_noop,
threads_noop,
threads_id_noop
};
static struct ssh_threads_callbacks_struct *user_callbacks =&ssh_threads_noop;