diff options
author | Chris Lattner <sabre@nondot.org> | 2006-09-14 06:21:59 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2006-09-14 06:21:59 +0000 |
commit | a4f1e8f6b82c52333a7a8219b8f730e57cfae60f (patch) | |
tree | 6b075e1d6979a1422cdfe7c98984dbd5a5720eeb /llvm/lib/System/Unix | |
parent | d28c7c87d77061cee22af8a46865f4fa5d23cae2 (diff) | |
download | bcm5719-llvm-a4f1e8f6b82c52333a7a8219b8f730e57cfae60f.tar.gz bcm5719-llvm-a4f1e8f6b82c52333a7a8219b8f730e57cfae60f.zip |
Use new config.h macro
llvm-svn: 30321
Diffstat (limited to 'llvm/lib/System/Unix')
-rw-r--r-- | llvm/lib/System/Unix/Process.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/System/Unix/Process.inc b/llvm/lib/System/Unix/Process.inc index bcabf5f140f..6b9b2b3ba79 100644 --- a/llvm/lib/System/Unix/Process.inc +++ b/llvm/lib/System/Unix/Process.inc @@ -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 |