Fixup previously added checks (add trailing newline, get rid of C++ comments, etc)

This commit is contained in:
Boris Kolpackov 2022-09-01 11:38:19 +02:00
parent 49a03ff46f
commit f0bb56a739
27 changed files with 39 additions and 32 deletions

View File

@ -5,6 +5,7 @@
#endif
#undef HAVE_DECL_CTL_KERN
/* Since 4.4BSD (OpenBSD 2.1-6.2, FreeBSD, NetBSD, Mac OS X 10.7),
* <= glibc 2.31.
* NOTE: Appears to have been available parallel to sysctl()

View File

@ -5,6 +5,7 @@
#endif
#undef HAVE_DECL_KERN_ARND
/* OpenBSD 2.6-6.0.
* NOTE: Only mentioned in OpenBSD manual.
*/

View File

@ -6,7 +6,7 @@
#undef HAVE_FUTIMES
/* Since Linux/glibc 2.3, FreeBSD 3.x, OpenBSD 1.2 (but the `OpenBSD` macro
/* Since Linux/glibc 2.3, FreeBSD 3.x, OpenBSD 1.2 (but the OpenBSD macro
* was only added in 2.0 with a value of 199610), NetBSD 1.2, Mac OS (all
* versions).
*/

View File

@ -7,7 +7,7 @@
#undef HAVE_GETENV
/* Since Version 7 AT&T UNIX, 4.3BSD-Tahoe (OpenBSD, FreeBSD, NetBSD, Mac OS X),
* glibc 1.09
* glibc 1.09
*/
#if defined(__FreeBSD__) || \
defined(__OpenBSD__) || \

View File

@ -7,7 +7,7 @@
#undef HAVE_PUTENV
/* Since AT&T System V Release 2 UNIX, 4.3BSD-Reno (OpenBSD, FreeBSD, NetBSD, Mac OS X),
* glibc 1.09
* glibc 1.09
*/
#if defined(__FreeBSD__) || \
defined(__OpenBSD__) || \

View File

@ -6,8 +6,8 @@
#undef HAVE_RENAMEAT2
// Since Linux 3.15/glibc 2.28.
//
/* Since Linux 3.15/glibc 2.28. */
#if BUILD2_AUTOCONF_GLIBC_PREREQ(2, 28)
# define HAVE_RENAMEAT2 1
#endif

View File

@ -6,7 +6,7 @@
#undef HAVE_STRTOLL
/* Since 'ISO C99' (OpenBSD ~2.7, FreeBSD ~4.0, NetBSD ~1.5, Mac OS X ~10.0),
/* Since ISO C99 (OpenBSD ~2.7, FreeBSD ~4.0, NetBSD ~1.5, Mac OS X ~10.0),
* glibc 1.90
*/
#if BUILD2_AUTOCONF_OPENBSD_PREREQ(200015) || \

View File

@ -10,6 +10,9 @@
* NOTE: No reliable sources found.
See (some) info here: https://bugs.mysql.com/bug.php?id=105562
*/
// #if ...
// # define HAVE_WORKING_KQUEUE 1
// #endif
/*
#if ...
# define HAVE_WORKING_KQUEUE 1
#endif
*/

View File

@ -2,6 +2,8 @@
#undef SIZEOF_VOID_P
/* @@ TODO: redo using SIZEOF_POINTER (see SIZEOF_SIZE_T). */
#if defined(_WIN64) || defined(__x86_64__) || defined(__ppc64__)
# define SIZEOF_VOID_P 8
#else