libsanitizer-timebits
authorLLVM Packaging Team <pkg-llvm-team@lists.alioth.debian.org>
Sat, 4 May 2024 05:27:41 +0000 (07:27 +0200)
committerGianfranco Costamagna <locutusofborg@debian.org>
Sat, 4 May 2024 05:27:41 +0000 (07:27 +0200)
# DP: Add another #undef for _TIME_BITS

# DP: Add another #undef for _TIME_BITS

Gbp-Pq: Name libsanitizer-timebits.diff

compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cpp
compiler-rt/lib/sanitizer_common/sanitizer_procmaps_solaris.cpp

index fc01498aa22852156fad45aec76088c77e66f14e..eb2ee78c2f457f82e3cec5efa82848bb83185142 100644 (file)
@@ -18,6 +18,7 @@
 // depends on _FILE_OFFSET_BITS setting.
 // To get this "true" dirent definition, we undefine _FILE_OFFSET_BITS below.
 #undef _FILE_OFFSET_BITS
+#undef _TIME_BITS
 #endif
 
 // Must go after undef _FILE_OFFSET_BITS.
index eeb49e2afe34d492cbe54fbf74fcd2a59d3a0778..1b23fd4d512b896c33694a43e4612dea90523e85 100644 (file)
@@ -11,6 +11,7 @@
 
 // Before Solaris 11.4, <procfs.h> doesn't work in a largefile environment.
 #undef _FILE_OFFSET_BITS
+#undef _TIME_BITS
 #include "sanitizer_platform.h"
 #if SANITIZER_SOLARIS
 #  include <fcntl.h>