Undefine major/minor macros if they are defined (as in clang) for base::Version

This commit is contained in:
David Capello 2014-08-13 00:31:56 -03:00
parent 1f900eda26
commit a9721b63a8

View File

@ -11,6 +11,14 @@
#include <string> #include <string>
#include <vector> #include <vector>
#ifdef major
#undef major
#endif
#ifdef minor
#undef minor
#endif
namespace base { namespace base {
class Version { class Version {