First draft for WCE PortSDK support. Once again! It's *draft* which requires
[openssl.git] / e_os.h
diff --git a/e_os.h b/e_os.h
index d064525ee00f5c1e5a403d304a8eb5266c851b30..5019e21bb2bf0080bf05e761aca0a1d6c39f924c 100644 (file)
--- a/e_os.h
+++ b/e_os.h
@@ -283,7 +283,9 @@ static unsigned int _strlen31(const char *str)
 
 #  ifdef OPENSSL_SYS_WINCE
 #    define OPENSSL_NO_POSIX_IO
-#    include <winsock_extras.h>
+#    if defined(_WIN32_WCE) && _WIN32_WCE<410
+#      include <winsock_extras.h>
+#    endif
 #  endif
 
 #  define ssize_t long