From ee7f2db4d0e92aafc39827995bf060c7a982528b Mon Sep 17 00:00:00 2001 From: Rafael Espindola Date: Tue, 29 Jul 2014 21:09:43 +0000 Subject: [PATCH] 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 --- tools/gold/gold-plugin.cpp | 7 ------- 1 file changed, 7 deletions(-) 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) -- 2.40.0