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) {