Skip to content

Commit

Permalink
disable thread in win32 platform
Browse files Browse the repository at this point in the history
  • Loading branch information
stephen.nil committed Jun 20, 2008
1 parent 95ad213 commit 946223e
Showing 1 changed file with 11 additions and 9 deletions.
20 changes: 11 additions & 9 deletions gnutls/spgnutls.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@
#include <time.h>
#include <fcntl.h>

#include <sys/types.h>
#include <sys/types.h>
#include <ctype.h>

#include "spporting.hpp"

#include "spporting.hpp"

#include "spgnutls.hpp"
#include "spsession.hpp"
Expand All @@ -20,12 +20,12 @@
#include "sputils.hpp"
#include "spmsgblock.hpp"
#include "spioutils.hpp"

#ifdef WIN32
#ifndef HAVE_SSIZE_T
typedef long ssize_t;
#endif
#endif

#ifdef WIN32
#ifndef HAVE_SSIZE_T
typedef long ssize_t;
#endif
#endif

#include <gnutls/gnutls.h>
#include "spgcrypt.h"
Expand Down Expand Up @@ -132,7 +132,9 @@ SP_IOChannel * SP_GnutlsChannelFactory :: create() const

int SP_GnutlsChannelFactory :: init( const char * certFile, const char * keyFile )
{
#ifndef WIN32
sp_init_gcrypt_pthread();
#endif

int ret = 0;

Expand Down

0 comments on commit 946223e

Please sign in to comment.