Delete dead code.
authorRafael Espindola <rafael.espindola@gmail.com>
Tue, 29 Jul 2014 21:09:43 +0000 (21:09 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Tue, 29 Jul 2014 21:09:43 +0000 (21:09 +0000)
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

tools/gold/gold-plugin.cpp

index d428c6910a815e573af8b5117fe1aaf0890aae51..0f6a60a361526fa675dbb707de772a2d247ef775 100644 (file)
 #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)