version: undef interfering freebsd functions

this is a massive hack, but i'm sick of people pulling this shit.
This commit is contained in:
Danny Robson 2016-05-13 15:23:38 +10:00
parent 02c0d6ce69
commit 7bab0dd481

View File

@ -58,6 +58,14 @@ namespace util {
BUILD = 3
};
// fuck you too freebsd
#ifdef major
#undef major
#endif
#ifdef minor
#undef minor
#endif
unsigned major (void) const;
unsigned minor (void) const;
unsigned point (void) const;