From 057a14dafbcb959966224cadf686e7a35ae00628 Mon Sep 17 00:00:00 2001 From: Ed Maste Date: Mon, 9 Sep 2019 18:33:15 +0000 Subject: [PATCH] compiler-rt: use 64-bit time_t for all FreeBSD archs except i386 Obtained from: LLVM r370756 --- .../lib/sanitizer_common/sanitizer_platform_limits_freebsd.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_freebsd.h b/contrib/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_freebsd.h index 7f8e8bf4d955..3bacf25f89f0 100644 --- a/contrib/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_freebsd.h +++ b/contrib/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_freebsd.h @@ -115,7 +115,7 @@ namespace __sanitizer { long key; }; -#if defined(__LP64___) +#if !defined(__i386__) typedef long long __sanitizer_time_t; #else typedef long __sanitizer_time_t;