Commit 510fe4e0 authored by Zach's avatar 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
#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>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment