mirror of https://github.com/google/snappy.git
Add #ifdef to guard against macro redefinition if this is included in another
Google project that also defines this.
This commit is contained in:
parent
0000f997dd
commit
971613510f
|
@ -80,9 +80,11 @@ typedef unsigned long long uint64;
|
|||
|
||||
typedef std::string string;
|
||||
|
||||
#ifndef DISALLOW_COPY_AND_ASSIGN
|
||||
#define DISALLOW_COPY_AND_ASSIGN(TypeName) \
|
||||
TypeName(const TypeName&); \
|
||||
void operator=(const TypeName&)
|
||||
#endif
|
||||
|
||||
#if !@ac_cv_have_sys_uio_h@
|
||||
// Windows does not have an iovec type, yet the concept is universally useful.
|
||||
|
|
Loading…
Reference in New Issue