don't use posix_fallocate on BSD
This commit is contained in:
parent
08c8bfae29
commit
95d4c3af5d
|
@ -125,6 +125,7 @@ POSSIBILITY OF SUCH DAMAGE.
|
||||||
#if defined __APPLE__
|
#if defined __APPLE__
|
||||||
#define TORRENT_USE_ICONV 0
|
#define TORRENT_USE_ICONV 0
|
||||||
#endif
|
#endif
|
||||||
|
#define TORRENT_HAS_FALLOCATE 0
|
||||||
|
|
||||||
// ==== LINUX ===
|
// ==== LINUX ===
|
||||||
#elif defined __linux__
|
#elif defined __linux__
|
||||||
|
@ -145,6 +146,7 @@ POSSIBILITY OF SUCH DAMAGE.
|
||||||
// is necessary
|
// is necessary
|
||||||
#define TORRENT_USE_ICONV 0
|
#define TORRENT_USE_ICONV 0
|
||||||
#define TORRENT_USE_RLIMIT 0
|
#define TORRENT_USE_RLIMIT 0
|
||||||
|
#define TORRENT_HAS_FALLOCATE 0
|
||||||
|
|
||||||
// ==== SOLARIS ===
|
// ==== SOLARIS ===
|
||||||
#elif defined sun || defined __sun
|
#elif defined sun || defined __sun
|
||||||
|
|
Loading…
Reference in New Issue