summaryrefslogtreecommitdiffstats
path: root/compiler-rt
diff options
context:
space:
mode:
authorAlexey Samsonov <samsonov@google.com>2013-12-05 13:29:46 +0000
committerAlexey Samsonov <samsonov@google.com>2013-12-05 13:29:46 +0000
commit5ca3de6e91fb32ff71c90d3af25cfcbb538a49c3 (patch)
treeefe32cd2fd9b34f3851e2eac8363b5c39ed4b297 /compiler-rt
parentd2014f196b0ac33bfd74416fcb3665c09d2ae6a6 (diff)
downloadbcm5719-llvm-5ca3de6e91fb32ff71c90d3af25cfcbb538a49c3.tar.gz
bcm5719-llvm-5ca3de6e91fb32ff71c90d3af25cfcbb538a49c3.zip
PR16532: work around old GCC bug in interception_type_test.cc
llvm-svn: 196506
Diffstat (limited to 'compiler-rt')
-rw-r--r--compiler-rt/lib/interception/interception_type_test.cc12
1 files changed, 6 insertions, 6 deletions
diff --git a/compiler-rt/lib/interception/interception_type_test.cc b/compiler-rt/lib/interception/interception_type_test.cc
index 7b79b783fbe..98ce2e6afc1 100644
--- a/compiler-rt/lib/interception/interception_type_test.cc
+++ b/compiler-rt/lib/interception/interception_type_test.cc
@@ -19,13 +19,13 @@
#include <stddef.h>
#include <stdint.h>
-COMPILER_CHECK(sizeof(SIZE_T) == sizeof(size_t));
-COMPILER_CHECK(sizeof(SSIZE_T) == sizeof(ssize_t));
-COMPILER_CHECK(sizeof(PTRDIFF_T) == sizeof(ptrdiff_t));
-COMPILER_CHECK(sizeof(INTMAX_T) == sizeof(intmax_t));
+COMPILER_CHECK(sizeof(::SIZE_T) == sizeof(size_t));
+COMPILER_CHECK(sizeof(::SSIZE_T) == sizeof(ssize_t));
+COMPILER_CHECK(sizeof(::PTRDIFF_T) == sizeof(ptrdiff_t));
+COMPILER_CHECK(sizeof(::INTMAX_T) == sizeof(intmax_t));
#ifndef __APPLE__
-COMPILER_CHECK(sizeof(OFF64_T) == sizeof(off64_t));
+COMPILER_CHECK(sizeof(::OFF64_T) == sizeof(off64_t));
#endif
// The following are the cases when pread (and friends) is used instead of
@@ -33,7 +33,7 @@ COMPILER_CHECK(sizeof(OFF64_T) == sizeof(off64_t));
// rest (they depend on _FILE_OFFSET_BITS setting when building an application).
# if defined(__ANDROID__) || !defined _FILE_OFFSET_BITS || \
_FILE_OFFSET_BITS != 64
-COMPILER_CHECK(sizeof(OFF_T) == sizeof(off_t));
+COMPILER_CHECK(sizeof(::OFF_T) == sizeof(off_t));
# endif
#endif
OpenPOWER on IntegriCloud