BeOS fixes

This commit is contained in:
Eric Petit 2006-02-07 09:34:30 +00:00
parent 3ba5313752
commit 9b2e8566dd
3 changed files with 6 additions and 2 deletions

View File

@ -52,7 +52,7 @@ else
LIBS = be bind socket tracker transmission Prefs
endif
ifneq ($(wildcard /boot/beos/system/lib/libzeta.so),)
LIBS += zeta
LIBS += zeta crypto
endif
# specify additional paths to directories following the standard
# libXXX.so or libXXX.a naming scheme. You can specify full paths

2
configure vendored
View File

@ -194,7 +194,7 @@ echo "System: $SYSTEM"
#
# Mac OS X check for the Universal SDK
#
if [ $SYSTEM = Darwin -a ! -d /Developer/SDKs/MacOSX10.4u.sdk ]; then
if [ "$SYSTEM" = Darwin -a ! -d /Developer/SDKs/MacOSX10.4u.sdk ]; then
echo
echo "You need to install the Universal SDK in order to build Transmission:"
echo " Get your Xcode CD or package"

View File

@ -23,6 +23,10 @@
#include <math.h>
#include "transmission.h"
#ifdef SYS_BEOS
#define lrintf(a) ((int)(0.5+(a)))
#endif
struct tr_choking_s
{
tr_lock_t lock;