Enable WinCE build without deceiving _MSC_VER.
[openssl.git] / crypto / rand / randfile.c
index 7dde54b18726ca1f2a5319924f1f33532703856a..cbc2720918a938272946dee630ada2e99885e662 100644 (file)
@@ -26,7 +26,7 @@
 #ifndef OPENSSL_NO_POSIX_IO
 # include <sys/stat.h>
 # include <fcntl.h>
-# ifdef _WIN32
+# if defined(_WIN32) && !defined(_WIN32_WCE)
 #  include <windows.h>
 #  include <io.h>
 #  define stat    _stat