forked from OSchip/llvm-project
Rewrite/FrontendActions.cpp: Tweak to unbreak msvc.
llvm-svn: 149041
This commit is contained in:
parent
269e6377dd
commit
69ee7d5c52
|
|
@ -23,7 +23,13 @@
|
|||
#include "llvm/Support/raw_ostream.h"
|
||||
#include "llvm/Support/Path.h"
|
||||
#include "llvm/Support/FileSystem.h"
|
||||
|
||||
// FIXME: This is terrible, we need this for ::close.
|
||||
#if !defined(_MSC_VER)
|
||||
#include <unistd.h>
|
||||
#else
|
||||
#include <io.h>
|
||||
#endif
|
||||
|
||||
using namespace clang;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue