support glibc on freebsd

This commit is contained in:
Arvid Norberg
2013-06-20 01:11:23 +00:00
parent 7f3a53cf97
commit 7d49a0d148

View File

@@ -201,7 +201,10 @@ POSSIBILITY OF SUCH DAMAGE.
#else
// FreeBSD has a reasonable iconv signature
#define TORRENT_ICONV_ARG (const char**)
// unless we're on glibc
#ifndef __GLIBC__
# define TORRENT_ICONV_ARG (const char**)
#endif
#endif
#define TORRENT_HAS_FALLOCATE 0
#define TORRENT_USE_IFADDRS 1