Fix the build under Debian GNU/Hurd.

Thanks to Pino Toscano for the patch



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@154500 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Sylvestre Ledru
2012-04-11 15:35:36 +00:00
parent 611afc0620
commit 6fc30c26b7
5 changed files with 20 additions and 5 deletions
+2 -2
View File
@@ -136,7 +136,7 @@ int Process::GetCurrentGroupId() {
return getgid();
}
#ifdef HAVE_MACH_MACH_H
#if defined(HAVE_MACH_MACH_H) && !defined(__GNU__)
#include <mach/mach.h>
#endif
@@ -150,7 +150,7 @@ void Process::PreventCoreFiles() {
setrlimit(RLIMIT_CORE, &rlim);
#endif
#ifdef HAVE_MACH_MACH_H
#if defined(HAVE_MACH_MACH_H) && !defined(__GNU__)
// Disable crash reporting on Mac OS X 10.0-10.4
// get information about the original set of exception ports for the task