From: drh Date: Sat, 20 Sep 2014 00:35:05 +0000 (+0000) Subject: Fix the usage of the _GNU_SOURCE and _BSD_SOURCE macros in the main X-Git-Tag: version-3.8.7~87 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=af6f25aaccb9a2a1139df1849a11f8a6f014d76a;p=thirdparty%2Fsqlite.git Fix the usage of the _GNU_SOURCE and _BSD_SOURCE macros in the main internal header file, sqliteInt.h. Set HAVE_STRCHRNUL to 1 by default on Linux only. FossilOrigin-Name: 59e2c9df02d7e988c5ad44c560ead1e5288b12e7 --- af6f25aaccb9a2a1139df1849a11f8a6f014d76a diff --cc manifest index fd932fa1b7,aa9b7846e6..34532191e9 --- a/manifest +++ b/manifest @@@ -1,5 -1,5 +1,5 @@@ - C Simplify\stwo\sconditionals\sand\sadd\stestcase()\smacros\sto\sthe\saffinity\stransform\nlogic\sin\sthe\scomparison\soperators. - D 2014-09-19T22:44:20.033 -C Only\senable\sHAVE_STRCHRNUL\sby\sdefault\son\slinux,\sas\sthat\sis\sthe\sonly\splace\nit\sappears\sto\swork\sby\sdefault. -D 2014-09-20T00:29:20.392 ++C Fix\sthe\susage\sof\sthe\s_GNU_SOURCE\sand\s_BSD_SOURCE\smacros\sin\sthe\smain\ninternal\sheader\sfile,\ssqliteInt.h.\s\sSet\sHAVE_STRCHRNUL\sto\s1\sby\sdefault\son\nLinux\sonly. ++D 2014-09-20T00:35:05.099 F Makefile.arm-wince-mingw32ce-gcc d6df77f1f48d690bd73162294bbba7f59507c72f F Makefile.in cf57f673d77606ab0f2d9627ca52a9ba1464146a F Makefile.linux-gcc 91d710bdc4998cb015f39edf3cb314ec4f4d7e23 @@@ -1198,7 -1198,7 +1198,8 @@@ F tool/vdbe_profile.tcl 67746953071a9f8 F tool/warnings-clang.sh f6aa929dc20ef1f856af04a730772f59283631d4 F tool/warnings.sh 0abfd78ceb09b7f7c27c688c8e3fe93268a13b32 F tool/win/sqlite.vsix deb315d026cc8400325c5863eef847784a219a2f - P 3b21cf2b284048da4b728a5d6ec89e5c330144d4 - R c321e5b6443015b26d22f3eade4b771c -P 35db3e2f350ca2bc6bb9e1a647aec7f93bfb7065 ++P 544664cadfb4e504bc0b321c865d1ecb8a831e20 0fac2c045f47c7735af4eb68ced81d8b43622a1f + R 8acbfeff4e0806bab5948d89d293bcf4 ++T +closed 0fac2c045f47c7735af4eb68ced81d8b43622a1f U drh - Z b0d83e95571a3002a17dc014110d23f5 -Z 6fc488f20a05aa47a5cf4ff95476cc98 ++Z 03e6ed8cf11426837aa81912fc8917d5 diff --cc manifest.uuid index aee58dcbcb,da30674aba..299d8934f2 --- a/manifest.uuid +++ b/manifest.uuid @@@ -1,1 -1,1 +1,1 @@@ - 544664cadfb4e504bc0b321c865d1ecb8a831e20 -0fac2c045f47c7735af4eb68ced81d8b43622a1f ++59e2c9df02d7e988c5ad44c560ead1e5288b12e7