浏览代码

Avoid using the macro name again in macro definitions.

Feng Xiao 11 年之前
父节点
当前提交
3b8dadf581
共有 1 个文件被更改,包括 3 次插入3 次删除
  1. 3 3
      src/google/protobuf/wire_format_lite.h

+ 3 - 3
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