Use new config.h macro

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30321 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2006-09-14 06:21:59 +00:00
parent a6d990a73f
commit 5f1d01393c

View File

@ -123,7 +123,7 @@ int Process::GetCurrentGroupId() {
return getgid();
}
#ifdef __APPLE__ // FIXME: Should be configurified.
#ifdef HAVE_MACH_MACH_H
#include <mach/mach.h>
#endif
@ -137,7 +137,7 @@ void Process::PreventCoreFiles() {
setrlimit(RLIMIT_CORE, &rlim);
#endif
#ifdef __APPLE__ // FIXME: Should be configurified.
#ifdef HAVE_MACH_MACH_H
// Disable crash reporting on Mac OS/X.
// get information about the original set of exception ports for the task