aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/google/protobuf/stubs/type_traits.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/google/protobuf/stubs/type_traits.h')
-rw-r--r--src/google/protobuf/stubs/type_traits.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/google/protobuf/stubs/type_traits.h b/src/google/protobuf/stubs/type_traits.h
index b58cae3f..36a8f3b1 100644
--- a/src/google/protobuf/stubs/type_traits.h
+++ b/src/google/protobuf/stubs/type_traits.h
@@ -73,6 +73,10 @@ struct is_base_of {
typedef char (&yes)[1];
typedef char (&no)[2];
+ // BEGIN GOOGLE LOCAL MODIFICATION -- check is a #define on Mac.
+ #undef check
+ // END GOOGLE LOCAL MODIFICATION
+
static yes check(const B*);
static no check(const void*);