From 6bb5dbce84ac4d4553331c4a6da13642c03738c4 Mon Sep 17 00:00:00 2001 From: Jonas Devlieghere Date: Thu, 30 Nov 2017 10:41:31 +0000 Subject: [PATCH] [dsymutil] Exclude namespace from ifdef in CFBundle Should fix build failure introduced by r319416 on non-darwin hosts. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@319417 91177308-0d34-0410-b5e6-96231b3b80d8 --- tools/dsymutil/CFBundle.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/dsymutil/CFBundle.cpp b/tools/dsymutil/CFBundle.cpp index 0155dd89d22..304838f7ee2 100644 --- a/tools/dsymutil/CFBundle.cpp +++ b/tools/dsymutil/CFBundle.cpp @@ -16,10 +16,12 @@ #include #include #include +#endif namespace llvm { namespace dsymutil { +#ifdef __APPLE__ /// Deleter that calls CFRelease rather than deleting the pointer. template struct CFDeleter { void operator()(T *P) { -- 2.50.1