diff --git a/include/GL/glfw3.h b/include/GL/glfw3.h
index dae1cc6a0..3ef25d168 100644
--- a/include/GL/glfw3.h
+++ b/include/GL/glfw3.h
@@ -141,7 +141,7 @@ extern "C" {
/* Include the chosen OpenGL header and, optionally, the GLU header.
*/
#if defined(__APPLE_CC__)
- #if defined(GLFW_INCLUDE_GL3)
+ #if defined(GLFW_INCLUDE_GLCOREARB)
#include
GLFW_OPENGL_ES2_PROFILE profile for creating OpenGL ES 2.0 contexts using the GLX_EXT_create_context_es2_profile and WGL_EXT_create_context_es2_profile extensionsGLFW_OPENGL_ROBUSTNESS window hint and associated strategy tokens for GL_ARB_robustness supportGLFW_OPENGL_REVISION window parameter to make up for removal of glfwGetGLVersionGLFW_INCLUDE_GL3 macro for telling the GLFW header to include gl3.h header instead of gl.hGLFW_INCLUDE_GLCOREARB macro for including glcorearb.h instead of gl.hGLFW_VISIBLE window hint and parameter for controlling and polling window visibilitywindows simple multi-window test programsharing simple OpenGL object sharing test program