aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2010-05-22 00:06:46 +0000
committerTed Kremenek <kremenek@apple.com>2010-05-22 00:06:46 +0000
commitd7ffd0844571d76f95bb0fc9c3ebb1bdf445eedd (patch)
treeffbcdcf0b723bfceb28b2ce195b9e452446666d3
parentd5ab9b0a0ae24f7d0f49f6f10fd1b247e64b3306 (diff)
Make crashreport data in libclang a compile-time option.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@104413 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--tools/libclang/CIndex.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/tools/libclang/CIndex.cpp b/tools/libclang/CIndex.cpp
index c93adaff73..31811d2512 100644
--- a/tools/libclang/CIndex.cpp
+++ b/tools/libclang/CIndex.cpp
@@ -44,8 +44,7 @@ using namespace clang::cxstring;
// Crash Reporting.
//===----------------------------------------------------------------------===//
-#ifdef __APPLE__
-#define USE_CRASHTRACER
+#ifdef USE_CRASHTRACER
#include "clang/Analysis/Support/SaveAndRestore.h"
// Integrate with crash reporter.
static const char *__crashreporter_info__ = 0;