1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-11-14 00:22:38 +03:00

Only enable HAVE_STRCHRNUL by default on linux, as that is the only place

it appears to work by default.

FossilOrigin-Name: 0fac2c045f47c7735af4eb68ced81d8b43622a1f
This commit is contained in:
drh
2014-09-20 00:29:20 +00:00
parent 33ac4c8bf5
commit 4e7a479597
3 changed files with 9 additions and 12 deletions

View File

@@ -21,7 +21,7 @@
** the glibc version so the glibc version is definitely preferred.
*/
#if !defined(HAVE_STRCHRNUL)
# if defined(_GNU_SOURCE)
# if defined(linux)
# define HAVE_STRCHRNUL 1
# else
# define HAVE_STRCHRNUL 0