[CMake] Add a check for HAVE_CRASHREPORTERCLIENT_H
The CMake build has been hardcoding this to undef forever, we shouldn't have been doing that. llvm-svn: 288956
This commit is contained in:
parent
c6c0e54d3d
commit
df11f53b67
|
@ -78,6 +78,7 @@ check_symbol_exists(FE_INEXACT "fenv.h" HAVE_DECL_FE_INEXACT)
|
||||||
|
|
||||||
check_include_file(mach/mach.h HAVE_MACH_MACH_H)
|
check_include_file(mach/mach.h HAVE_MACH_MACH_H)
|
||||||
check_include_file(histedit.h HAVE_HISTEDIT_H)
|
check_include_file(histedit.h HAVE_HISTEDIT_H)
|
||||||
|
check_include_file(CrashReporterClient.h HAVE_CRASHREPORTERCLIENT_H)
|
||||||
|
|
||||||
# library checks
|
# library checks
|
||||||
if( NOT PURE_WINDOWS )
|
if( NOT PURE_WINDOWS )
|
||||||
|
|
|
@ -17,7 +17,7 @@
|
||||||
#cmakedefine HAVE_BACKTRACE ${HAVE_BACKTRACE}
|
#cmakedefine HAVE_BACKTRACE ${HAVE_BACKTRACE}
|
||||||
|
|
||||||
/* Define to 1 if you have the <CrashReporterClient.h> header file. */
|
/* Define to 1 if you have the <CrashReporterClient.h> header file. */
|
||||||
#undef HAVE_CRASHREPORTERCLIENT_H
|
#cmakedefine HAVE_CRASHREPORTERCLIENT_H
|
||||||
|
|
||||||
/* can use __crashreporter_info__ */
|
/* can use __crashreporter_info__ */
|
||||||
#undef HAVE_CRASHREPORTER_INFO
|
#undef HAVE_CRASHREPORTER_INFO
|
||||||
|
|
Loading…
Reference in New Issue