mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-12-01 07:04:10 +01:00
a84dc2f7e6
Depending on compiler (gcc, g++, clang) and standard options (c99, c11), string.h may or may not include strings.h, leading to possibly missing or conflicting declarations of strcasestr. Include both so that both detection and compilation phases use the same (possibly optimised) implementations. Suggested-by: Thomas Schneider <qsx@chaotikum.eu> Suggested-by: Florian Weimer <fweimer@redhat.com> Suggested-by: Tomi Ollila <tomi.ollila@iki.fi> |
||
---|---|---|
.. | ||
.gitignore | ||
check_asctime.c | ||
check_getpwuid.c | ||
compat.h | ||
function-attributes.h | ||
gen_zlib_pc.c | ||
getdelim.c | ||
getline.c | ||
have_canonicalize_file_name.c | ||
have_d_type.c | ||
have_getline.c | ||
have_strcasestr.c | ||
have_strsep.c | ||
have_timegm.c | ||
Makefile | ||
Makefile.local | ||
README | ||
strcasestr.c | ||
strsep.c | ||
timegm.c |
notmuch/compat This directory consists of three things: 1. Small programs used by the notmuch configure script to test for the availability of certain system features, (library functions, etc.). For example: have_getline.c 2. Compatibility implementations of those system features for systems that don't provide their own versions. For example: getline.c The compilation of these files is made conditional on the output of the test programs from [1]. 3. Macro definitions abstracting compiler differences (e.g. function attributes). For example: function-attributes.h