mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-24 20:08:10 +01:00
da12807734
__has_attribute is defined by clang and tests whether a given function attribute is supported by clang. Add a compatibility macro for other compilers. Signed-off-by: Justus Winter <4winter@informatik.uni-hamburg.de> |
||
---|---|---|
.. | ||
compat.h | ||
function-attributes.h | ||
getdelim.c | ||
getline.c | ||
have_getline.c | ||
have_strcasestr.c | ||
Makefile | ||
Makefile.local | ||
README | ||
strcasestr.c |
notmuch/compat This directory consists of two 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].