From 26d8275c61cb699a517feef0dcaa89d029452cca Mon Sep 17 00:00:00 2001 From: Nigel Stewart Date: Sat, 9 Jul 2016 14:23:57 +1000 Subject: [PATCH] Sourceforge Patch #67 Fix build failure on OS X < 10.7 --- auto/src/glewinfo_tail.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/auto/src/glewinfo_tail.c b/auto/src/glewinfo_tail.c index 30f25fd..f8b292a 100644 --- a/auto/src/glewinfo_tail.c +++ b/auto/src/glewinfo_tail.c @@ -430,7 +430,8 @@ GLboolean glewCreateContext (struct createParams *params) i = 0; contextAttrs[i++] = kCGLPFAAccelerated; /* No software rendering */ - #if MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_7 + /* MAC_OS_X_VERSION_10_7 == 1070 */ + #if MAC_OS_X_VERSION_MIN_REQUIRED >= 1070 if (params->profile & GL_CONTEXT_CORE_PROFILE_BIT) { if (params->major==3 && params->minor>=2)