Skip to content
Snippets Groups Projects
Commit f16f0370 authored by Yaron Keren's avatar Yaron Keren
Browse files

G M suggestion: conditionally include files on _WIN32.

llvm-svn: 195045
parent fbeb63c0
No related branches found
No related tags found
No related merge requests found
...@@ -19,8 +19,10 @@ ...@@ -19,8 +19,10 @@
#ifdef __sun__ #ifdef __sun__
#define rename solaris_headers_are_broken #define rename solaris_headers_are_broken
#endif #endif
#if !defined(_WIN32)
#include <fcntl.h> #include <fcntl.h>
#include <unistd.h> #include <unistd.h>
#endif // defined(_WIN32)
#include <errno.h> #include <errno.h>
_LIBCPP_BEGIN_NAMESPACE_STD _LIBCPP_BEGIN_NAMESPACE_STD
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment