ENGINES: Use MSVC_PRINTF when GCC_PRINTF is used

This commit is contained in:
Donovan Watteau 2022-11-25 17:54:09 +01:00 committed by Eugene Sandulenko
parent 5a62dc4c37
commit a86b22a40d

View file

@ -89,7 +89,7 @@ inline void GUIErrorMessageFormat(const Common::U32String &fmt, TParam... param)
/**
* Initialize graphics and show an error message.
*/
void GUIErrorMessageFormat(const char *fmt, ...) GCC_PRINTF(1, 2);
void GUIErrorMessageFormat(MSVC_PRINTF const char *fmt, ...) GCC_PRINTF(1, 2);
class Engine;