mirror of
https://github.com/taglib/taglib.git
synced 2025-06-03 00:58:12 -04:00
Revert "Reorder CMake checks for sprintf() variants."
This reverts commit c69364d83115950b24e6baa6b9841a244d149d91.
This commit is contained in:
parent
4dcccfbd6a
commit
f25e30d33f
@ -211,20 +211,20 @@ check_cxx_source_compiles("
|
||||
#include <cstdio>
|
||||
int main() {
|
||||
char buf[20];
|
||||
sprintf_s(buf, \"%d\", 1);
|
||||
snprintf(buf, 20, \"%d\", 1);
|
||||
return 0;
|
||||
}
|
||||
" HAVE_SPRINTF_S)
|
||||
" HAVE_SNPRINTF)
|
||||
|
||||
if(NOT HAVE_SPRINTF_S)
|
||||
if(NOT HAVE_SNPRINTF)
|
||||
check_cxx_source_compiles("
|
||||
#include <cstdio>
|
||||
int main() {
|
||||
char buf[20];
|
||||
snprintf(buf, 20, \"%d\", 1);
|
||||
sprintf_s(buf, \"%d\", 1);
|
||||
return 0;
|
||||
}
|
||||
" HAVE_SNPRINTF)
|
||||
" HAVE_SPRINTF_S)
|
||||
endif()
|
||||
|
||||
# Check for libz using the cmake supplied FindZLIB.cmake
|
||||
|
Loading…
x
Reference in New Issue
Block a user