[libcxx] r195045 - G M suggestion: conditionally include files on _WIN32.
Yaron Keren
yaron.keren at gmail.com
Mon Nov 18 13:30:19 PST 2013
Author: yrnkrn
Date: Mon Nov 18 15:30:19 2013
New Revision: 195045
URL: http://llvm.org/viewvc/llvm-project?rev=195045&view=rev
Log:
G M suggestion: conditionally include files on _WIN32.
Modified:
libcxx/trunk/src/random.cpp
Modified: libcxx/trunk/src/random.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/src/random.cpp?rev=195045&r1=195044&r2=195045&view=diff
==============================================================================
--- libcxx/trunk/src/random.cpp (original)
+++ libcxx/trunk/src/random.cpp Mon Nov 18 15:30:19 2013
@@ -19,8 +19,10 @@
#ifdef __sun__
#define rename solaris_headers_are_broken
#endif
+#if !defined(_WIN32)
#include <fcntl.h>
#include <unistd.h>
+#endif // defined(_WIN32)
#include <errno.h>
_LIBCPP_BEGIN_NAMESPACE_STD
More information about the cfe-commits
mailing list