Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Donald Haase
Cockatrice
Commits
510fe4e0
Commit
510fe4e0
authored
Feb 21, 2015
by
Zach
Browse files
Merge pull request #769 from Cockatrice/fix-osx-compile-bug
Avoid compilation failure due to protobuf bug on osx
parents
65412800
4d8218da
Changes
1
Show whitespace changes
Inline
Side-by-side
common/user_level.h
View file @
510fe4e0
#ifndef USER_LEVEL_H
#define USER_LEVEL_H
#ifdef Q_OS_OSX
// avoid collision from Mac OS X's ConditionalMacros.h
// https://code.google.com/p/protobuf/issues/detail?id=119
#undef TYPE_BOOL
#endif
#include
"pb/serverinfo_user.pb.h"
#include
<QFlags>
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment