diff --git a/src/Magnum/Platform/Implementation/OpenGLFunctionLoader.h b/src/Magnum/Platform/Implementation/OpenGLFunctionLoader.h index 986f99117..3772d8c2c 100644 --- a/src/Magnum/Platform/Implementation/OpenGLFunctionLoader.h +++ b/src/Magnum/Platform/Implementation/OpenGLFunctionLoader.h @@ -36,11 +36,15 @@ namespace Magnum { namespace Platform { namespace Implementation { class OpenGLFunctionLoader { public: + #ifndef CORRADE_GCC46_COMPATIBILITY #ifndef CORRADE_TARGET_WINDOWS using FunctionPointer = void(*)(); #else using FunctionPointer = PROC; #endif + #else + typedef void(*FunctionPointer)(); + #endif explicit OpenGLFunctionLoader(); ~OpenGLFunctionLoader();