build: set ac_cv___attribute___printf_4_5

This commit is contained in:
Sergiu Deitsch 2021-03-30 21:08:16 +02:00
parent d4e8ebab7e
commit b442ef8070
2 changed files with 2 additions and 1 deletions

View File

@ -351,6 +351,7 @@ set (ac_google_start_namespace ${_START_GOOGLE_NAMESPACE_})
if (HAVE___ATTRIBUTE__)
set (ac_cv___attribute___noreturn "__attribute__((noreturn))")
set (ac_cv___attribute___noinline "__attribute__((noinline))")
set (ac_cv___attribute___printf_4_5 "__attribute__((__format__(__printf__, 4, 5)))")
elseif (HAVE___DECLSPEC)
set (ac_cv___attribute___noreturn "__declspec(noreturn)")
#set (ac_cv___attribute___noinline "__declspec(noinline)")