summaryrefslogtreecommitdiffstats
path: root/e_os.h
diff options
context:
space:
mode:
Diffstat (limited to 'e_os.h')
-rw-r--r--e_os.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/e_os.h b/e_os.h
index 6fec78d5ee..efe58fb97e 100644
--- a/e_os.h
+++ b/e_os.h
@@ -306,7 +306,7 @@ static unsigned int _strlen31(const char *str)
# undef isupper
# undef isxdigit
# endif
-# if defined(_MSC_VER) && !defined(_DLL) && defined(stdin)
+# if defined(_MSC_VER) && !defined(_WIN32_WCE) && !defined(_DLL) && defined(stdin)
# if _MSC_VER>=1300
# undef stdin
# undef stdout
@@ -332,8 +332,10 @@ static unsigned int _strlen31(const char *str)
# endif
# endif
# endif
-# include <io.h>
-# include <fcntl.h>
+# if !defined(OPENSSL_FIPSCANISTER)
+# include <io.h>
+# include <fcntl.h>
+# endif
# ifdef OPENSSL_SYS_WINCE
# define OPENSSL_NO_POSIX_IO