summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorAndy Polyakov <appro@openssl.org>2013-01-19 21:23:13 +0100
committerAndy Polyakov <appro@openssl.org>2013-01-19 21:23:13 +0100
commita006fef78e56b078549a80f4bb4518b6a02eba84 (patch)
tree16669073d67ca852e41b488283fb617409839547 /apps
parentMerge branch 'master' of openssl.net:openssl (diff)
downloadopenssl-a006fef78e56b078549a80f4bb4518b6a02eba84.tar.xz
openssl-a006fef78e56b078549a80f4bb4518b6a02eba84.zip
Improve WINCE support.
Submitted by: Pierre Delaage
Diffstat (limited to 'apps')
-rw-r--r--apps/apps.c2
-rw-r--r--apps/apps.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/apps/apps.c b/apps/apps.c
index 15f2069c95..e35f3c458c 100644
--- a/apps/apps.c
+++ b/apps/apps.c
@@ -118,7 +118,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
-#if !defined(OPENSSL_SYSNAME_WIN32) && !defined(NETWARE_CLIB)
+#if !defined(OPENSSL_SYSNAME_WIN32) && !defined(OPENSSL_SYSNAME_WINCE) && !defined(NETWARE_CLIB)
#include <strings.h>
#endif
#include <sys/types.h>
diff --git a/apps/apps.h b/apps/apps.h
index 6a71b8323a..390a58c67c 100644
--- a/apps/apps.h
+++ b/apps/apps.h
@@ -202,7 +202,7 @@ extern BIO *bio_err;
# endif
#endif
-#ifdef OPENSSL_SYSNAME_WIN32
+#if defined(OPENSSL_SYSNAME_WIN32) || defined(OPENSSL_SYSNAME_WINCE)
# define openssl_fdset(a,b) FD_SET((unsigned int)a, b)
#else
# define openssl_fdset(a,b) FD_SET(a, b)