From d8852512160395889124b1ec5c01565cada0a15b Mon Sep 17 00:00:00 2001 From: Duraid Madina Date: Wed, 28 Dec 2005 05:56:36 +0000 Subject: [PATCH] behold my standards-compliant humps! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25033 91177308-0d34-0410-b5e6-96231b3b80d8 --- tools/llc/llc.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/llc/llc.cpp b/tools/llc/llc.cpp index 573e9ba2b75..d009fd07358 100644 --- a/tools/llc/llc.cpp +++ b/tools/llc/llc.cpp @@ -30,6 +30,7 @@ #include #include #include +#include using namespace llvm; @@ -243,7 +244,7 @@ int main(int argc, char **argv) { << "' does not support generation of this file type!\n"; if (Out != &std::cout) delete Out; // And the Out file is empty and useless, so remove it now. - remove(OutputFilename.c_str()); + std::remove(OutputFilename.c_str()); return 1; } else { // Run our queue of passes all at once now, efficiently.