From: Rafael Espindola Date: Tue, 29 Jul 2014 21:09:43 +0000 (+0000) Subject: Delete dead code. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ee7f2db4d0e92aafc39827995bf060c7a982528b;p=llvm Delete dead code. 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 --- diff --git a/tools/gold/gold-plugin.cpp b/tools/gold/gold-plugin.cpp index d428c6910a8..0f6a60a3615 100644 --- a/tools/gold/gold-plugin.cpp +++ b/tools/gold/gold-plugin.cpp @@ -33,13 +33,6 @@ #include #include -// Support Windows/MinGW crazyness. -#ifdef _WIN32 -# include -# 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)