Fixed multithreading issue with gnutls.

This commit is contained in:
lotodore
2008-04-24 22:11:43 +00:00
parent 873b626c5f
commit dd3453d364
9 changed files with 73 additions and 15 deletions
+7 -2
View File
@@ -24,8 +24,13 @@
#ifndef HAVE_SSIZE_T
# define HAVE_SSIZE_T
#include <sys/types.h>
#if (defined _WIN32) && (!defined ssize_t)
typedef long ssize_t; // This is only for Windows. Supports only Win32.
#ifdef _WIN32
#ifndef ssize_t
typedef long ssize_t; // This is only for Windows. Supports only Win32.
#endif
#ifndef pid_t
typedef unsigned pid_t;
#endif
#endif
#endif