Remove checks for [v]snprintf() and vsscanf() declarations
Consider that all still supported/existing platforms provide these declarations, if they provide these functions at all (and they probably all do, so we almost certainly could remove all the test for them, but keep them for now). Note that we still test for broken declarations as this might still be useful on HP-UX 11 systems, where this problem was reported "only" 8 years ago. By not using AC_CHECK_FUNCS() we avoid the problem when using it with snprintf() when cross-compiling with the latest MinGW API headers, see https://sourceforge.net/p/mingw-w64/bugs/935/ for more details. This commit is best viewed ignoring whitespace-only changes.
This commit is contained in:
parent
d63b0c2cf9
commit
7b0d77e0c0
7 changed files with 97 additions and 346 deletions
|
|
@ -980,9 +980,6 @@
|
|||
/* Define if you have snprintf() */
|
||||
#cmakedefine HAVE_SNPRINTF 1
|
||||
|
||||
/* Define if you have snprintf() declaration in the header */
|
||||
#cmakedefine HAVE_SNPRINTF_DECL 1
|
||||
|
||||
/* Define if you have a snprintf() which supports positional arguments
|
||||
(defined in the unix98 standard) */
|
||||
#cmakedefine HAVE_UNIX98_PRINTF 1
|
||||
|
|
@ -1005,9 +1002,6 @@
|
|||
/* Define if you have vsnprintf() */
|
||||
#cmakedefine HAVE_VSNPRINTF 1
|
||||
|
||||
/* Define if you have vsnprintf() declaration in the header */
|
||||
#cmakedefine HAVE_VSNPRINTF_DECL 1
|
||||
|
||||
/* Define if you have a _broken_ vsnprintf() declaration in the header,
|
||||
* with 'char*' for the 3rd parameter instead of 'const char*' */
|
||||
#cmakedefine HAVE_BROKEN_VSNPRINTF_DECL 1
|
||||
|
|
@ -1019,9 +1013,6 @@
|
|||
/* Define if you have vsscanf() */
|
||||
#cmakedefine HAVE_VSSCANF 1
|
||||
|
||||
/* Define if you have vsscanf() declaration in the header */
|
||||
#cmakedefine HAVE_VSSCANF_DECL 1
|
||||
|
||||
/* Define if you have usleep() */
|
||||
#cmakedefine HAVE_USLEEP 1
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue