From 30750078295588a65666fe325066aaaa99eb97d8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Wed, 13 Aug 2014 15:39:55 +0200 Subject: [PATCH] GCC 4.6 compatibility: no template aliases. --- src/Magnum/Platform/Implementation/OpenGLFunctionLoader.h | 4 ++++ 1 file changed, 4 insertions(+) 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();