Use new config.h macro
authorChris Lattner <sabre@nondot.org>
Thu, 14 Sep 2006 06:21:59 +0000 (06:21 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 14 Sep 2006 06:21:59 +0000 (06:21 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30321 91177308-0d34-0410-b5e6-96231b3b80d8

lib/System/Unix/Process.inc

index bcabf5f140fb29fdcaf2be2a243840c375dc85fb..6b9b2b3ba79385008fe22543f24c4236c0c7c402 100644 (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