Changeset 171


Ignore:
Timestamp:
Mar 31, 2006, 5:52:07 PM (16 years ago)
Author:
joshe
Message:

Patch from Jeremy Messenger to build on FreeBSD 4.

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/configure

    r125 r171  
    224224    DEFINES="$DEFINES SYS_FREEBSD"
    225225    LINKLIBS="$LINKLIBS -pthread -lm"
     226
     227    RELEASE=`uname -r`
     228    case $RELEASE in
     229      4.*)
     230        DEFINES="$DEFINES SYS_FREEBSD_4"
     231        ;;
     232    esac
    226233    ;;
    227234
  • trunk/libtransmission/choking.c

    r162 r171  
    2424#include "transmission.h"
    2525
    26 #ifdef SYS_BEOS
     26#if defined(SYS_BEOS) || defined(SYS_FREEBSD_4)
    2727#define lrintf(a) ((int)(0.5+(a)))
    2828#endif
Note: See TracChangeset for help on using the changeset viewer.