From 7a506a48d7496c4eefb2c31bb82899bd59144c25 Mon Sep 17 00:00:00 2001 From: Wencey Wang Date: Mon, 10 Feb 2020 14:41:14 +0800 Subject: [PATCH] Let WinRT dll Build WinRT dll should also use __declspec to build. --- include/bgfx/c99/bgfx.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/bgfx/c99/bgfx.h b/include/bgfx/c99/bgfx.h index 887ebbef2..9abe54a6e 100644 --- a/include/bgfx/c99/bgfx.h +++ b/include/bgfx/c99/bgfx.h @@ -34,7 +34,7 @@ # define BGFX_SHARED_LIB_USE 0 #endif // BGFX_SHARED_LIB_USE -#if BX_PLATFORM_WINDOWS +#if BX_PLATFORM_WINDOWS||BX_PLATFORM_WINRT # define BGFX_SYMBOL_EXPORT __declspec(dllexport) # define BGFX_SYMBOL_IMPORT __declspec(dllimport) #else