From: Jonas Devlieghere Date: Thu, 30 Nov 2017 10:41:31 +0000 (+0000) Subject: [dsymutil] Exclude namespace from ifdef in CFBundle X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6bb5dbce84ac4d4553331c4a6da13642c03738c4;p=llvm [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 --- 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) {