Add #ifdef to guard against macro redefinition if this is included in another
Google project that also defines this.
This commit is contained in:
committed by
Steinar H. Gunderson
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.
|
||||
|
||||
Reference in New Issue
Block a user