Skip to content

Commit 0ed1713

Browse files
committed
update SDL_COMPOSE_ERROR macro for windows clang-cl
from a patchset by Vladislav Dmitrievich Turbanov: #4062
1 parent e228d15 commit 0ed1713

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/render/direct3d11/SDL_render_d3d11.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ extern ISwapChainBackgroundPanelNative * WINRT_GlobalSwapChainBackgroundPanelNat
5454
#endif /* __WINRT__ */
5555

5656

57-
#ifdef _MSC_VER
57+
#if defined(_MSC_VER) && !defined(__clang__)
5858
#define SDL_COMPOSE_ERROR(str) __FUNCTION__ ", " str
5959
#else
6060
#define SDL_COMPOSE_ERROR(str) SDL_STRINGIFY_ARG(__FUNCTION__) ", " str

0 commit comments

Comments
 (0)