Improve WINCE support.

Submitted by: Pierre Delaage
This commit is contained in:
Andy Polyakov
2013-01-19 21:23:13 +01:00
parent 0e5cf7bc09
commit a006fef78e
9 changed files with 32 additions and 11 deletions

View File

@@ -62,7 +62,7 @@
#include <openssl/objects.h>
#include "ssl_locl.h"
#if defined(OPENSSL_SYS_WIN32) || defined(OPENSSL_SYS_VMS)
#if defined(OPENSSL_SYS_VMS)
#include <sys/timeb.h>
#endif
@@ -452,7 +452,7 @@ int dtls1_handle_timeout(SSL *s)
static void get_current_time(struct timeval *t)
{
#if defined(OPENSSL_SYS_WIN32) || defined(OPENSSL_SYS_WINCE)
#if defined(_WIN32)
SYSTEMTIME st;
union { unsigned __int64 ul; FILETIME ft; } now;