support glibc on freebsd
This commit is contained in:
@@ -201,7 +201,10 @@ POSSIBILITY OF SUCH DAMAGE.
|
|||||||
|
|
||||||
#else
|
#else
|
||||||
// FreeBSD has a reasonable iconv signature
|
// 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
|
#endif
|
||||||
#define TORRENT_HAS_FALLOCATE 0
|
#define TORRENT_HAS_FALLOCATE 0
|
||||||
#define TORRENT_USE_IFADDRS 1
|
#define TORRENT_USE_IFADDRS 1
|
||||||
|
Reference in New Issue
Block a user