Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed bug in GOOGLE_PREDICT_FALSE. #467

Merged
merged 1 commit into from Jun 6, 2015

Conversation

AustinSchuh
Copy link

The GOOGLE_PREDICT_FALSE macro is both incorrect, and doesn't match
the macro definition in glog, which causes conflicts when including
both libraries. This commit fixes that by making it identical to
what is in glog.

The GOOGLE_PREDICT_FALSE macro is both incorrect, and doesn't match
the macro definition in glog, which causes conflicts when including
both libraries.  This commit fixes that by making it identical to
what is in glog.
@xfxyjwf
Copy link
Contributor

xfxyjwf commented Jun 6, 2015

Protobuf's definition is exactly the same as what's in glog:
https://github.com/google/glog/blob/701dd7120dd0a4e3f5d5c01c4431695ae6306aa2/src/glog/logging.h.in#L139

What am I missing?

@xfxyjwf
Copy link
Contributor

xfxyjwf commented Jun 6, 2015

Ah, sorry, my fault. I was reading the diff in the reverse way...

@xfxyjwf
Copy link
Contributor

xfxyjwf commented Jun 6, 2015

Merging as the failing travis tests are irrelevant to this change.

xfxyjwf added a commit that referenced this pull request Jun 6, 2015
@xfxyjwf xfxyjwf merged commit f51f1b7 into protocolbuffers:master Jun 6, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants