Use new config.h macro
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30321 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/System/Unix/Process.inc b/lib/System/Unix/Process.inc
index bcabf5f..6b9b2b3 100644
--- a/lib/System/Unix/Process.inc
+++ b/lib/System/Unix/Process.inc
@@ -123,7 +123,7 @@
return getgid();
}
-#ifdef __APPLE__ // FIXME: Should be configurified.
+#ifdef HAVE_MACH_MACH_H
#include <mach/mach.h>
#endif
@@ -137,7 +137,7 @@
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