mirror of
https://github.com/google/snappy.git
synced 2024-11-28 15:34:29 +00:00
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;
|
typedef std::string string;
|
||||||
|
|
||||||
|
#ifndef DISALLOW_COPY_AND_ASSIGN
|
||||||
#define DISALLOW_COPY_AND_ASSIGN(TypeName) \
|
#define DISALLOW_COPY_AND_ASSIGN(TypeName) \
|
||||||
TypeName(const TypeName&); \
|
TypeName(const TypeName&); \
|
||||||
void operator=(const TypeName&)
|
void operator=(const TypeName&)
|
||||||
|
#endif
|
||||||
|
|
||||||
#if !@ac_cv_have_sys_uio_h@
|
#if !@ac_cv_have_sys_uio_h@
|
||||||
// Windows does not have an iovec type, yet the concept is universally useful.
|
// Windows does not have an iovec type, yet the concept is universally useful.
|
||||||
|
|
Loading…
Reference in a new issue