diff --git a/modules/juce_opengl/native/juce_MissingGLDefinitions.h b/modules/juce_opengl/native/juce_MissingGLDefinitions.h index 674e236da5..45033f2071 100644 --- a/modules/juce_opengl/native/juce_MissingGLDefinitions.h +++ b/modules/juce_opengl/native/juce_MissingGLDefinitions.h @@ -49,7 +49,7 @@ namespace #define GL_RGBA8 GL_RGBA #endif - #ifndef GL_DEPTH24_STENCIL8 + #if (! defined (GL_DEPTH24_STENCIL8)) && ! JUCE_WINDOWS enum { GL_DEPTH24_STENCIL8 = 0x88F0 }; #endif