Use new config.h macro

llvm-svn: 30321
This commit is contained in:
Chris Lattner 2006-09-14 06:21:59 +00:00
parent d28c7c87d7
commit a4f1e8f6b8
1 changed files with 2 additions and 2 deletions

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