Work around an issue where some compilers interpret <:: as a trigraph. Also correct the namespace name.
diff --git a/snappy-stubs-internal.h b/snappy-stubs-internal.h index e51b731..1954c63 100644 --- a/snappy-stubs-internal.h +++ b/snappy-stubs-internal.h
@@ -163,15 +163,15 @@ } // namespace base #define UNALIGNED_LOAD16(_p) \ - ((reinterpret_cast<const ::base::internal::Unaligned16Struct *>(_p))->value) + ((reinterpret_cast<const ::snappy::base::internal::Unaligned16Struct *>(_p))->value) #define UNALIGNED_LOAD32(_p) \ - ((reinterpret_cast<const ::base::internal::Unaligned32Struct *>(_p))->value) + ((reinterpret_cast<const ::snappy::base::internal::Unaligned32Struct *>(_p))->value) #define UNALIGNED_STORE16(_p, _val) \ - ((reinterpret_cast<::base::internal::Unaligned16Struct *>(_p))->value = \ + ((reinterpret_cast< ::snappy::base::internal::Unaligned16Struct *>(_p))->value = \ (_val)) #define UNALIGNED_STORE32(_p, _val) \ - ((reinterpret_cast<::base::internal::Unaligned32Struct *>(_p))->value = \ + ((reinterpret_cast< ::snappy::base::internal::Unaligned32Struct *>(_p))->value = \ (_val)) // TODO(user): NEON supports unaligned 64-bit loads and stores.