gold: MinGW fix.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@123886 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Michael J. Spencer 2011-01-20 05:43:16 +00:00
parent 71e39dac0c
commit 8b1659e8bf

View File

@ -29,6 +29,13 @@
#include <list>
#include <vector>
// Support Windows/MinGW crazyness.
#ifdef _WIN32
# include <io.h>
# define lseek _lseek
# define read _read
#endif
using namespace llvm;
namespace {