Browse Source

Let WinRT dll Build

WinRT dll should also use __declspec to build.
Wencey Wang 5 years ago
parent
commit
7a506a48d7
1 changed files with 1 additions and 1 deletions
  1. 1 1
      include/bgfx/c99/bgfx.h

+ 1 - 1
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