OSDN Git Service
(root)
/
android-x86
/
external-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bdc984c
)
[dsymutil] Exclude namespace from ifdef in CFBundle
author
Jonas Devlieghere
<jonas@devlieghere.com>
Thu, 30 Nov 2017 10:41:31 +0000
(10:41 +0000)
committer
Jonas Devlieghere
<jonas@devlieghere.com>
Thu, 30 Nov 2017 10:41:31 +0000
(10:41 +0000)
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
patch
|
blob
|
history
diff --git
a/tools/dsymutil/CFBundle.cpp
b/tools/dsymutil/CFBundle.cpp
index
0155dd8
..
304838f
100644
(file)
--- a/
tools/dsymutil/CFBundle.cpp
+++ b/
tools/dsymutil/CFBundle.cpp
@@
-16,10
+16,12
@@
#include <assert.h>
#include <glob.h>
#include <memory>
+#endif
namespace llvm {
namespace dsymutil {
+#ifdef __APPLE__
/// Deleter that calls CFRelease rather than deleting the pointer.
template <typename T> struct CFDeleter {
void operator()(T *P) {