diff options
Diffstat (limited to 'net-p2p/xmule/files/patch-src::updownclient.h')
-rw-r--r-- | net-p2p/xmule/files/patch-src::updownclient.h | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/net-p2p/xmule/files/patch-src::updownclient.h b/net-p2p/xmule/files/patch-src::updownclient.h deleted file mode 100644 index 9891c50e1d6b..000000000000 --- a/net-p2p/xmule/files/patch-src::updownclient.h +++ /dev/null @@ -1,24 +0,0 @@ ---- src/updownclient.h.orig Sun May 25 18:27:59 2003 -+++ src/updownclient.h Tue May 27 21:14:31 2003 -@@ -26,12 +26,20 @@ - #include "SafeFile.h" - #include "BarShader.h" - #include "otherfunctions.h" -+#include <sys/time.h> - - class CPartFile; - class CKnownFile; - typedef unsigned char byte; --extern inline long GetTickCount(); - -+inline long GetTickCount() -+{ -+ struct timeval aika; -+ gettimeofday(&aika,NULL); -+ unsigned long secs=aika.tv_sec*1000; -+ secs+=(aika.tv_usec/1000); -+ return secs; -+} - - // uploadstate - #define US_UPLOADING 0 |