The gold plugin doesn't call lseek or read directly any more.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@214221
91177308-0d34-0410-b5e6-
96231b3b80d8
#include <system_error>
#include <vector>
#include <system_error>
#include <vector>
-// Support Windows/MinGW crazyness.
-#ifdef _WIN32
-# include <io.h>
-# define lseek _lseek
-# define read _read
-#endif
-
#ifndef LDPO_PIE
// FIXME: remove this declaration when we stop maintaining Ubuntu Quantal and
// Precise and Debian Wheezy (binutils 2.23 is required)
#ifndef LDPO_PIE
// FIXME: remove this declaration when we stop maintaining Ubuntu Quantal and
// Precise and Debian Wheezy (binutils 2.23 is required)