aboutsummaryrefslogtreecommitdiff
path: root/src/printf.c
diff options
context:
space:
mode:
authordrh <drh@noemail.net>2014-10-22 20:07:19 +0000
committerdrh <drh@noemail.net>2014-10-22 20:07:19 +0000
commitb7288e28e48235e8f7671ae7b613f4c5c7251c44 (patch)
tree68dd6bb1a3418b01674de9e497792dbaba8694ff /src/printf.c
parentd7d71470226bcc59799713b95ad9e10f9eff63cc (diff)
downloadsqlite-b7288e28e48235e8f7671ae7b613f4c5c7251c44.tar.gz
sqlite-b7288e28e48235e8f7671ae7b613f4c5c7251c44.zip
Disable the use of strchrnul() unless specifically enabled by compile-time
options. FossilOrigin-Name: e580470db77d6da970c755102790e603fb26b3c6
Diffstat (limited to 'src/printf.c')
-rw-r--r--src/printf.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/printf.c b/src/printf.c
index c0b3c70f6..1df287fbb 100644
--- a/src/printf.c
+++ b/src/printf.c
@@ -21,11 +21,7 @@
** the glibc version so the glibc version is definitely preferred.
*/
#if !defined(HAVE_STRCHRNUL)
-# if defined(linux)
-# define HAVE_STRCHRNUL 1
-# else
-# define HAVE_STRCHRNUL 0
-# endif
+# define HAVE_STRCHRNUL 0
#endif