mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
Guard against sysmacros.h pulling in defines for major and minor on some platforms. (#2900)
This commit is contained in:
parent
18e43c93ed
commit
e8fb428a4f
@ -11,6 +11,14 @@
|
||||
#include <string>
|
||||
#include <set>
|
||||
|
||||
#ifdef major
|
||||
#undef major
|
||||
#endif
|
||||
|
||||
#ifdef minor
|
||||
#undef minor
|
||||
#endif
|
||||
|
||||
namespace flow {
|
||||
|
||||
class GLConnection {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user