summaryrefslogtreecommitdiff
path: root/lib/System/Unix/Process.inc
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-09-14 06:21:59 +0000
committerChris Lattner <sabre@nondot.org>2006-09-14 06:21:59 +0000
commit5f1d01393c1dbafca3c5d91adbb0a97c387a5a1e (patch)
tree97271e02b62512e1b10b7494c5b02974838e3555 /lib/System/Unix/Process.inc
parenta6d990a73f5ce41c6ce53d940f807621ecb4d260 (diff)
downloadllvm-5f1d01393c1dbafca3c5d91adbb0a97c387a5a1e.tar.gz
llvm-5f1d01393c1dbafca3c5d91adbb0a97c387a5a1e.tar.bz2
llvm-5f1d01393c1dbafca3c5d91adbb0a97c387a5a1e.tar.xz
Use new config.h macro
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30321 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/System/Unix/Process.inc')
-rw-r--r--lib/System/Unix/Process.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/System/Unix/Process.inc b/lib/System/Unix/Process.inc
index bcabf5f140..6b9b2b3ba7 100644
--- a/lib/System/Unix/Process.inc
+++ b/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