From e8fb428a4fd294fd75d227374e662a77b1802b17 Mon Sep 17 00:00:00 2001 From: Chinmay Garde Date: Wed, 10 Aug 2016 14:13:01 -0700 Subject: [PATCH] Guard against sysmacros.h pulling in defines for `major` and `minor` on some platforms. (#2900) --- flow/gl_connection.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/flow/gl_connection.h b/flow/gl_connection.h index 76ec31ee4..16b68f6bb 100644 --- a/flow/gl_connection.h +++ b/flow/gl_connection.h @@ -11,6 +11,14 @@ #include #include +#ifdef major +#undef major +#endif + +#ifdef minor +#undef minor +#endif + namespace flow { class GLConnection { -- GitLab