mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-07-03 01:38:30 +00:00
Fix fadvise() on Windows
This commit is contained in:
parent
adac64a52b
commit
e1a40783da
5 changed files with 24 additions and 8 deletions
|
@ -80,13 +80,13 @@ static int PrintBacktraceUsingAddr2line(int fd, const struct StackFrame *bp) {
|
|||
return -1;
|
||||
}
|
||||
|
||||
// backtrace_test.com failing on windows for some reason via runitd
|
||||
if (IsWindows()) {
|
||||
// TODO: We need a way to *not* pass //?/C:/... paths to mingw
|
||||
return -1;
|
||||
}
|
||||
|
||||
// doesn't work on rhel5
|
||||
if (IsLinux() && !__is_linux_2_6_23()) {
|
||||
// we need the `addr2line -a` option
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue