Skip to content
Snippets Groups Projects
Commit 2a131d27 authored by gnzlbg's avatar gnzlbg
Browse files

Update alignment of pthread_mutexattr_t

parent 24f8972b
No related branches found
No related tags found
No related merge requests found
...@@ -7,8 +7,7 @@ macro_rules! expand_align { ...@@ -7,8 +7,7 @@ macro_rules! expand_align {
target_arch = "mips64", target_arch = "mips64",
target_arch = "s390x", target_arch = "s390x",
target_arch = "sparc64", target_arch = "sparc64",
all(target_arch = "aarch64", target_arch = "aarch64"),
target_env = "musl")),
repr(align(4)))] repr(align(4)))]
#[cfg_attr(not(any(target_pointer_width = "32", #[cfg_attr(not(any(target_pointer_width = "32",
target_arch = "x86_64", target_arch = "x86_64",
...@@ -16,8 +15,7 @@ macro_rules! expand_align { ...@@ -16,8 +15,7 @@ macro_rules! expand_align {
target_arch = "mips64", target_arch = "mips64",
target_arch = "s390x", target_arch = "s390x",
target_arch = "sparc64", target_arch = "sparc64",
all(target_arch = "aarch64", target_arch = "aarch64")),
target_env = "musl"))),
repr(align(8)))] repr(align(8)))]
pub struct pthread_mutexattr_t { pub struct pthread_mutexattr_t {
#[doc(hidden)] #[doc(hidden)]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment