update SDL_COMPOSE_ERROR macro for windows clang-cl

from a patchset by Vladislav Dmitrievich Turbanov:
https://github.com/libsdl-org/SDL/pull/4062
This commit is contained in:
Ozkan Sezer 2021-03-04 18:27:47 +03:00
parent e228d15261
commit 0ed1713128
1 changed files with 1 additions and 1 deletions

View File

@ -54,7 +54,7 @@ extern ISwapChainBackgroundPanelNative * WINRT_GlobalSwapChainBackgroundPanelNat
#endif /* __WINRT__ */ #endif /* __WINRT__ */
#ifdef _MSC_VER #if defined(_MSC_VER) && !defined(__clang__)
#define SDL_COMPOSE_ERROR(str) __FUNCTION__ ", " str #define SDL_COMPOSE_ERROR(str) __FUNCTION__ ", " str
#else #else
#define SDL_COMPOSE_ERROR(str) SDL_STRINGIFY_ARG(__FUNCTION__) ", " str #define SDL_COMPOSE_ERROR(str) SDL_STRINGIFY_ARG(__FUNCTION__) ", " str