diff options
author | Sergey Matveev <earthdok@google.com> | 2013-07-01 10:15:29 +0000 |
---|---|---|
committer | Sergey Matveev <earthdok@google.com> | 2013-07-01 10:15:29 +0000 |
commit | 6b5a492091784dcd4ba4badf7261513f3bcca014 (patch) | |
tree | d63df26846f4590d222779c121a93185807fbb91 | |
parent | 77fcfe70bef55b4e6f932b809ceb5653c375b2a4 (diff) | |
download | bcm5719-llvm-6b5a492091784dcd4ba4badf7261513f3bcca014.tar.gz bcm5719-llvm-6b5a492091784dcd4ba4badf7261513f3bcca014.zip |
[sanitizer] Use the correct macro to check glibc version.
llvm-svn: 185324
-rw-r--r-- | compiler-rt/lib/sanitizer_common/sanitizer_linux_libcdep.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler-rt/lib/sanitizer_common/sanitizer_linux_libcdep.cc b/compiler-rt/lib/sanitizer_common/sanitizer_linux_libcdep.cc index fe8e67d331d..239df352027 100644 --- a/compiler-rt/lib/sanitizer_common/sanitizer_linux_libcdep.cc +++ b/compiler-rt/lib/sanitizer_common/sanitizer_linux_libcdep.cc @@ -197,7 +197,7 @@ uptr GetTlsSize() { // sizeof(struct thread) from glibc. // There has been a report of this being different on glibc 2.11. We don't know // when this change happened, so 2.12 is a conservative estimate. -#if __GNUC_PREREQ(2, 12) +#if __GLIBC_PREREQ(2, 12) const uptr kThreadDescriptorSize = FIRST_32_SECOND_64(1216, 2304); #else const uptr kThreadDescriptorSize = FIRST_32_SECOND_64(1168, 2304); |