Fixup previously added checks (add trailing newline, get rid of C++ comments, etc)
This commit is contained in:
parent
49a03ff46f
commit
f0bb56a739
@ -5,6 +5,7 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#undef HAVE_DECL_CTL_KERN
|
#undef HAVE_DECL_CTL_KERN
|
||||||
|
|
||||||
/* Since 4.4BSD (OpenBSD 2.1-6.2, FreeBSD, NetBSD, Mac OS X 10.7),
|
/* Since 4.4BSD (OpenBSD 2.1-6.2, FreeBSD, NetBSD, Mac OS X 10.7),
|
||||||
* <= glibc 2.31.
|
* <= glibc 2.31.
|
||||||
* NOTE: Appears to have been available parallel to sysctl()
|
* NOTE: Appears to have been available parallel to sysctl()
|
||||||
|
@ -5,6 +5,7 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#undef HAVE_DECL_KERN_ARND
|
#undef HAVE_DECL_KERN_ARND
|
||||||
|
|
||||||
/* OpenBSD 2.6-6.0.
|
/* OpenBSD 2.6-6.0.
|
||||||
* NOTE: Only mentioned in OpenBSD manual.
|
* NOTE: Only mentioned in OpenBSD manual.
|
||||||
*/
|
*/
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
#undef HAVE_FUTIMES
|
#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
|
* was only added in 2.0 with a value of 199610), NetBSD 1.2, Mac OS (all
|
||||||
* versions).
|
* versions).
|
||||||
*/
|
*/
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
#undef HAVE_GETENV
|
#undef HAVE_GETENV
|
||||||
|
|
||||||
/* Since Version 7 AT&T UNIX, 4.3BSD-Tahoe (OpenBSD, FreeBSD, NetBSD, Mac OS X),
|
/* Since Version 7 AT&T UNIX, 4.3BSD-Tahoe (OpenBSD, FreeBSD, NetBSD, Mac OS X),
|
||||||
* glibc 1.09
|
* glibc 1.09
|
||||||
*/
|
*/
|
||||||
#if defined(__FreeBSD__) || \
|
#if defined(__FreeBSD__) || \
|
||||||
defined(__OpenBSD__) || \
|
defined(__OpenBSD__) || \
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
#undef HAVE_PUTENV
|
#undef HAVE_PUTENV
|
||||||
|
|
||||||
/* Since AT&T System V Release 2 UNIX, 4.3BSD-Reno (OpenBSD, FreeBSD, NetBSD, Mac OS X),
|
/* 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__) || \
|
#if defined(__FreeBSD__) || \
|
||||||
defined(__OpenBSD__) || \
|
defined(__OpenBSD__) || \
|
||||||
|
@ -6,8 +6,8 @@
|
|||||||
|
|
||||||
#undef HAVE_RENAMEAT2
|
#undef HAVE_RENAMEAT2
|
||||||
|
|
||||||
// Since Linux 3.15/glibc 2.28.
|
/* Since Linux 3.15/glibc 2.28. */
|
||||||
//
|
|
||||||
#if BUILD2_AUTOCONF_GLIBC_PREREQ(2, 28)
|
#if BUILD2_AUTOCONF_GLIBC_PREREQ(2, 28)
|
||||||
# define HAVE_RENAMEAT2 1
|
# define HAVE_RENAMEAT2 1
|
||||||
#endif
|
#endif
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
#undef HAVE_STRTOLL
|
#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
|
* glibc 1.90
|
||||||
*/
|
*/
|
||||||
#if BUILD2_AUTOCONF_OPENBSD_PREREQ(200015) || \
|
#if BUILD2_AUTOCONF_OPENBSD_PREREQ(200015) || \
|
||||||
|
@ -10,6 +10,9 @@
|
|||||||
* NOTE: No reliable sources found.
|
* NOTE: No reliable sources found.
|
||||||
See (some) info here: https://bugs.mysql.com/bug.php?id=105562
|
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
|
||||||
|
*/
|
||||||
|
@ -2,6 +2,8 @@
|
|||||||
|
|
||||||
#undef SIZEOF_VOID_P
|
#undef SIZEOF_VOID_P
|
||||||
|
|
||||||
|
/* @@ TODO: redo using SIZEOF_POINTER (see SIZEOF_SIZE_T). */
|
||||||
|
|
||||||
#if defined(_WIN64) || defined(__x86_64__) || defined(__ppc64__)
|
#if defined(_WIN64) || defined(__x86_64__) || defined(__ppc64__)
|
||||||
# define SIZEOF_VOID_P 8
|
# define SIZEOF_VOID_P 8
|
||||||
#else
|
#else
|
||||||
|
Loading…
Reference in New Issue
Block a user