Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(4966)

Issue 49042: Work around windows.h #defining GetMessage().

Can't Edit
Can't Publish+Mail
Start Review
Created:
15 years ago by kenton
Modified:
14 years, 9 months ago
Reviewers:
Base URL:
http://protobuf.googlecode.com/svn/trunk/
Visibility:
Public.

Description

windows.h #defines GetMessage() as a macro. Protocol Buffers uses GetMessage() as a method name. These are incompatible. We can work around it without inconveniencing users by converting the GetMessage macro into an inline function.

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+25 lines, -0 lines) Patch
M src/google/protobuf/message.h View 1 chunk +18 lines, -0 lines 0 comments Download
M src/google/protobuf/test_util.cc View 1 chunk +6 lines, -0 lines 0 comments Download
M src/google/protobuf/testing/googletest.h View 1 chunk +1 line, -0 lines 0 comments Download

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b