diff options
author | Christian Grothoff <christian@grothoff.org> | 2012-11-08 21:35:38 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2012-11-08 21:35:38 +0000 |
commit | 802d1322f21e7468ce4c7ba0c0c63a6c24fb059f (patch) | |
tree | d65be6accd97ff6108048d1e0064647c954c9882 /AUTHORS | |
parent | 25e72ff2bf795e13d778594f22a323231199978d (diff) | |
download | libmicrohttpd-802d1322f21e7468ce4c7ba0c0c63a6c24fb059f.tar.gz libmicrohttpd-802d1322f21e7468ce4c7ba0c0c63a6c24fb059f.zip |
Ship its own version of tsearch and friends if not provided by platform.
On GNU based systems the tree related functions (tsearch, tfind, tdestroy)
are provided by the libc (with the interface specification in search.h). On
non-GNU systems this functionality may or may not be available. That's the
case for Android which ships its own, simplified, version of libc called
Bionic. Bionic does not contains neither search.h nor an implementation of
the above mentioned functions.
This patch adds detection for the presence of search.h and if the header file
is not found, it uses an internal version of search.h and functions tsearch,
tfind, and tdestroy. The internal version is based on the source code from
FreeBSD and is compiled if and only if the configure script did not find the
search.h header file.
-- Jan Janak
Diffstat (limited to 'AUTHORS')
-rw-r--r-- | AUTHORS | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -38,6 +38,7 @@ LRN <lrn1986@gmail.com> | |||
38 | Sven Geggus <sts@fuchsschwanzdomain.de> | 38 | Sven Geggus <sts@fuchsschwanzdomain.de> |
39 | Steve Wolf <stevewolf6@gmail.com> | 39 | Steve Wolf <stevewolf6@gmail.com> |
40 | Brecht Sanders <brecht@sanders.org> | 40 | Brecht Sanders <brecht@sanders.org> |
41 | Jan Janak <jan@janakj.org> | ||
41 | 42 | ||
42 | Documentation contributions also came from: | 43 | Documentation contributions also came from: |
43 | Marco Maggi <marco.maggi-ipsu@poste.it> | 44 | Marco Maggi <marco.maggi-ipsu@poste.it> |