mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 04:30:23 +00:00
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:
parent
71e39dac0c
commit
8b1659e8bf
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user