From 9d2250ad43e364114bda26807fe3074a22a07ed7 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. llvm-svn: 214221 --- llvm/tools/gold/gold-plugin.cpp | 7 ------- 1 file changed, 7 deletions(-) diff --git a/llvm/tools/gold/gold-plugin.cpp b/llvm/tools/gold/gold-plugin.cpp index d428c69..0f6a60a 100644 --- a/llvm/tools/gold/gold-plugin.cpp +++ b/llvm/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.7.4