From 168807ed64d04c0e90940f721c99f6ce74be7ec1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Sun, 29 Dec 2013 19:40:27 +0100 Subject: [PATCH] DebugTools: fix warning on MinGW. --- src/DebugTools/ResourceManager.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/DebugTools/ResourceManager.cpp b/src/DebugTools/ResourceManager.cpp index b13186081..94d9f29a4 100644 --- a/src/DebugTools/ResourceManager.cpp +++ b/src/DebugTools/ResourceManager.cpp @@ -35,11 +35,11 @@ namespace Magnum { -#ifndef CORRADE_TARGET_WINDOWS -template class ResourceManager; -#else -template class MAGNUM_DEBUGTOOLS_EXPORT ResourceManager; +template class +#if defined(CORRADE_TARGET_WINDOWS) && _MSC_VER +MAGNUM_DEBUGTOOLS_EXPORT #endif +ResourceManager; namespace DebugTools {