BeOS fixes
This commit is contained in:
parent
3ba5313752
commit
9b2e8566dd
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue