aboutsummaryrefslogtreecommitdiff
path: root/src/google/protobuf/wire_format_lite.h
diff options
context:
space:
mode:
authorFeng Xiao <xfxyjwf@gmail.com>2014-10-08 17:32:53 -0700
committerFeng Xiao <xfxyjwf@gmail.com>2014-10-08 17:32:53 -0700
commit3b8dadf5814157a656d60dccadd7cb820a429050 (patch)
treec0ed544e3c760f1de31b989da269fafee8d8129c /src/google/protobuf/wire_format_lite.h
parent06e6690bf2055b4361db2a6bdd21facf3f2d86d6 (diff)
downloadprotobuf-3b8dadf5814157a656d60dccadd7cb820a429050.tar.gz
protobuf-3b8dadf5814157a656d60dccadd7cb820a429050.tar.bz2
protobuf-3b8dadf5814157a656d60dccadd7cb820a429050.zip
Avoid using the macro name again in macro definitions.
Diffstat (limited to 'src/google/protobuf/wire_format_lite.h')
-rw-r--r--src/google/protobuf/wire_format_lite.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/google/protobuf/wire_format_lite.h b/src/google/protobuf/wire_format_lite.h
index 1b5d7c53..21aa4889 100644
--- a/src/google/protobuf/wire_format_lite.h
+++ b/src/google/protobuf/wire_format_lite.h
@@ -239,9 +239,9 @@ class LIBPROTOBUF_EXPORT WireFormatLite {
// that file to use these.
// Avoid ugly line wrapping
-#define input io::CodedInputStream* input
-#define output io::CodedOutputStream* output
-#define field_number int field_number
+#define input io::CodedInputStream* input_arg
+#define output io::CodedOutputStream* output_arg
+#define field_number int field_number_arg
#define INL GOOGLE_ATTRIBUTE_ALWAYS_INLINE
// Read fields, not including tags. The assumption is that you already