mirror of
https://github.com/Relintai/sdl2_frt.git
synced 2024-12-16 11:06:49 +01:00
Fixed building with mingw64
This commit is contained in:
parent
70b353d1a5
commit
1e5f0073c6
@ -54,7 +54,11 @@ extern ISwapChainBackgroundPanelNative * WINRT_GlobalSwapChainBackgroundPanelNat
|
|||||||
#endif /* __WINRT__ */
|
#endif /* __WINRT__ */
|
||||||
|
|
||||||
|
|
||||||
|
#ifdef _MSC_VER
|
||||||
#define SDL_COMPOSE_ERROR(str) __FUNCTION__ ", " str
|
#define SDL_COMPOSE_ERROR(str) __FUNCTION__ ", " str
|
||||||
|
#else
|
||||||
|
#define SDL_COMPOSE_ERROR(str) SDL_STRINGIFY_ARG(__FUNCTION__) ", " str
|
||||||
|
#endif
|
||||||
|
|
||||||
#define SAFE_RELEASE(X) if ((X)) { IUnknown_Release(SDL_static_cast(IUnknown*, X)); X = NULL; }
|
#define SAFE_RELEASE(X) if ((X)) { IUnknown_Release(SDL_static_cast(IUnknown*, X)); X = NULL; }
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user