This was also explicitly undef in CMake for some unknown reason.
Hopefully this one won't kill all the bots.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@288977
91177308-0d34-0410-b5e6-
96231b3b80d8
check_include_file(mach/mach.h HAVE_MACH_MACH_H)
check_include_file(histedit.h HAVE_HISTEDIT_H)
check_include_file(CrashReporterClient.h HAVE_CRASHREPORTERCLIENT_H)
+if(APPLE)
+ include(CheckCSourceCompiles)
+ CHECK_C_SOURCE_COMPILES("
+ static const char *__crashreporter_info__ = 0;
+ asm(\".desc ___crashreporter_info__, 0x10\");
+ int main() { return 0; }"
+ HAVE_CRASHREPORTER_INFO)
+endif()
# library checks
if( NOT PURE_WINDOWS )
#cmakedefine HAVE_CRASHREPORTERCLIENT_H
/* can use __crashreporter_info__ */
-#undef HAVE_CRASHREPORTER_INFO
+#cmakedefine01 HAVE_CRASHREPORTER_INFO
/* Define to 1 if you have the declaration of `arc4random', and to 0 if you
don't. */