]> granicus.if.org Git - clang/commitdiff
Make crashreport data in libclang a compile-time option.
authorTed Kremenek <kremenek@apple.com>
Sat, 22 May 2010 00:06:46 +0000 (00:06 +0000)
committerTed Kremenek <kremenek@apple.com>
Sat, 22 May 2010 00:06:46 +0000 (00:06 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@104413 91177308-0d34-0410-b5e6-96231b3b80d8

tools/libclang/CIndex.cpp

index c93adaff73f210becd4b433b6013d938b4fe489d..31811d25122c5a943633b8aae70950e2b9f30813 100644 (file)
@@ -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;