forked from mirrors/gecko-dev
Bug 1881979 - Use c_int as ptrace request type on musl libc. r=gsvelto
Differential Revision: https://phabricator.services.mozilla.com/D202680
This commit is contained in:
parent
7b2b880299
commit
051eb870c9
1 changed files with 3 additions and 1 deletions
|
|
@ -261,8 +261,10 @@ enum PTraceOperation {
|
||||||
PeekData,
|
PeekData,
|
||||||
}
|
}
|
||||||
|
|
||||||
#[cfg(target_os = "linux")]
|
#[cfg(all(target_os = "linux", target_env = "gnu"))]
|
||||||
type PTraceOperationNative = libc::c_uint;
|
type PTraceOperationNative = libc::c_uint;
|
||||||
|
#[cfg(all(target_os = "linux", target_env = "musl"))]
|
||||||
|
type PTraceOperationNative = libc::c_int;
|
||||||
#[cfg(target_os = "android")]
|
#[cfg(target_os = "android")]
|
||||||
type PTraceOperationNative = c_int;
|
type PTraceOperationNative = c_int;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue