Should be checking if HAVE_CRASHREPORTERCLIENT_H is defined not relying on it having a value.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@288963
91177308-0d34-0410-b5e6-
96231b3b80d8
}
// Integrate with crash reporter libraries.
-#if defined (__APPLE__) && HAVE_CRASHREPORTERCLIENT_H
+#if defined (__APPLE__) && defined(HAVE_CRASHREPORTERCLIENT_H)
// If any clients of llvm try to link to libCrashReporterClient.a themselves,
// only one crash info struct will be used.
extern "C" {