G M suggestion: conditionally include files on _WIN32.

llvm-svn: 195045
This commit is contained in:
Yaron Keren 2013-11-18 21:30:19 +00:00
parent fbeb63c0d1
commit f16f037060
1 changed files with 2 additions and 0 deletions

View File

@ -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