From 66082789e14ee84cb661472fabf7568b268b3920 Mon Sep 17 00:00:00 2001 From: Egor Yusov Date: Thu, 13 Dec 2018 22:24:33 -0800 Subject: Few final changes to support MinGW build --- .../GraphicsEngineOpenGL/interface/RenderDeviceFactoryOpenGL.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'Graphics/GraphicsEngineOpenGL') diff --git a/Graphics/GraphicsEngineOpenGL/interface/RenderDeviceFactoryOpenGL.h b/Graphics/GraphicsEngineOpenGL/interface/RenderDeviceFactoryOpenGL.h index b931630e..c1e34419 100644 --- a/Graphics/GraphicsEngineOpenGL/interface/RenderDeviceFactoryOpenGL.h +++ b/Graphics/GraphicsEngineOpenGL/interface/RenderDeviceFactoryOpenGL.h @@ -36,15 +36,15 @@ #include "EngineGLAttribs.h" -#if PLATFORM_WIN32 - -# define API_QUALIFIER - -#elif PLATFORM_ANDROID || PLATFORM_LINUX || PLATFORM_MACOS || PLATFORM_IOS +#if PLATFORM_ANDROID || PLATFORM_LINUX || PLATFORM_MACOS || PLATFORM_IOS || (PLATFORM_WIN32 && !defined(_MSC_VER)) // https://gcc.gnu.org/wiki/Visibility # define API_QUALIFIER __attribute__((visibility("default"))) +#elif PLATFORM_WIN32 + +# define API_QUALIFIER + #else # error Unsupported platform #endif -- cgit v1.2.3