summaryrefslogtreecommitdiff
path: root/libc-test
diff options
context:
space:
mode:
authorMarco A L Barbosa <malbarbo@gmail.com>2017-04-19 11:04:14 -0300
committerMarco A L Barbosa <malbarbo@gmail.com>2017-04-19 12:24:45 -0300
commit3ca6ad9a3f4972108a180428b19fdb30014d3c23 (patch)
tree654416338c657c0a19d682858255f3de6710221e /libc-test
parente1c6dedf6234154db8e576bc352b81be3a6fb623 (diff)
downloadrust-libc-3ca6ad9a3f4972108a180428b19fdb30014d3c23.tar.gz
Fix x86_64-linux-android failing tests
Diffstat (limited to 'libc-test')
-rw-r--r--libc-test/build.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/libc-test/build.rs b/libc-test/build.rs
index 4ebba509e1..a2b38372d3 100644
--- a/libc-test/build.rs
+++ b/libc-test/build.rs
@@ -106,8 +106,8 @@ fn main() {
}
if android {
- if !aarch64 {
- // time64_t is not define for aarch64
+ if !aarch64 && !x86_64 {
+ // time64_t is not define for aarch64 and x86_64
// If included it will generate the error 'Your time_t is already 64-bit'
cfg.header("time64.h");
}