Guard against sysmacros.h pulling in defines for major and minor on some platforms. (#2900)

This commit is contained in:
Chinmay Garde 2016-08-10 14:13:01 -07:00 committed by GitHub
parent 18e43c93ed
commit e8fb428a4f

View File

@ -11,6 +11,14 @@
#include <string>
#include <set>
#ifdef major
#undef major
#endif
#ifdef minor
#undef minor
#endif
namespace flow {
class GLConnection {