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

This commit is contained in:
Chinmay Garde
2016-08-10 14:13:01 -07:00
committed by GitHub
parent 8cfd887da7
commit 520ec8698d

View File

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