mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-21 23:17:16 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user