summaryrefslogtreecommitdiff
path: root/libc-test/build.rs
diff options
context:
space:
mode:
authorgnzlbg <gonzalobg88@gmail.com>2018-04-15 14:45:26 +0200
committergnzlbg <gonzalobg88@gmail.com>2018-04-15 14:45:26 +0200
commitdc1956e2efed951b9cfaa64109956707859c0573 (patch)
tree5406a87c9876061d587f16a681e878ee0d7459a0 /libc-test/build.rs
parent28b4d1630989318c4a03cacdffd3f8f7651262f4 (diff)
downloadrust-libc-dc1956e2efed951b9cfaa64109956707859c0573.tar.gz
fix undefined behavior due to incorrect packing on macosx
Diffstat (limited to 'libc-test/build.rs')
-rw-r--r--libc-test/build.rs3
1 files changed, 0 insertions, 3 deletions
diff --git a/libc-test/build.rs b/libc-test/build.rs
index 0f4efdca63..9805ef0e21 100644
--- a/libc-test/build.rs
+++ b/libc-test/build.rs
@@ -416,9 +416,6 @@ fn main() {
// which is absent in glibc, has to be defined.
"__timeval" if linux => true,
- // The alignment of this is 4 on 64-bit OSX...
- "kevent" | "shmid_ds" if apple && x86_64 => true,
-
// This is actually a union, not a struct
"sigval" => true,