clang support

This commit is contained in:
MerryMage 2016-07-12 14:31:43 +01:00
parent 8449deb0bc
commit 619b451902
6 changed files with 5 additions and 6 deletions

View file

@ -16,7 +16,7 @@ std::string StringFromFormat(
_Printf_format_string_
#endif
const char* format, ...)
#ifdef __GNUC__
#if defined(__GNUC__) && !defined(__clang__)
__attribute__((format(gnu_printf, 1, 2)))
#endif
;