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 d064525..5019e21 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