mirror of
https://github.com/transmission/transmission
synced 2025-02-06 22:42:33 +00:00
Patch from Jeremy Messenger to build on FreeBSD 4.
This commit is contained in:
parent
d96757bf12
commit
ee1428db43
2 changed files with 8 additions and 1 deletions
7
configure
vendored
7
configure
vendored
|
@ -223,6 +223,13 @@ case $SYSTEM in
|
|||
FreeBSD)
|
||||
DEFINES="$DEFINES SYS_FREEBSD"
|
||||
LINKLIBS="$LINKLIBS -pthread -lm"
|
||||
|
||||
RELEASE=`uname -r`
|
||||
case $RELEASE in
|
||||
4.*)
|
||||
DEFINES="$DEFINES SYS_FREEBSD_4"
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
|
||||
NetBSD)
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
#include <math.h>
|
||||
#include "transmission.h"
|
||||
|
||||
#ifdef SYS_BEOS
|
||||
#if defined(SYS_BEOS) || defined(SYS_FREEBSD_4)
|
||||
#define lrintf(a) ((int)(0.5+(a)))
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Reference in a new issue