diff options
author | Nikias Bassen | 2012-02-12 17:43:11 +0100 |
---|---|---|
committer | Nikias Bassen | 2012-02-12 17:43:11 +0100 |
commit | 0ef841ba9cd3b720b3db001da2dfb020b8c03fbb (patch) | |
tree | 3aba1b4a832ae99225bcc86d2290f3e138ddd325 /src | |
parent | ca6078403d99ba0b6ffae7627780d54fdd81dbb5 (diff) | |
download | idevicerestore-0ef841ba9cd3b720b3db001da2dfb020b8c03fbb.tar.gz idevicerestore-0ef841ba9cd3b720b3db001da2dfb020b8c03fbb.tar.bz2 |
download: win32 has no ftello() so use ftell()
Diffstat (limited to 'src')
-rw-r--r-- | src/download.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/download.c b/src/download.c index 8fb482a..ebf5da4 100644 --- a/src/download.c +++ b/src/download.c @@ -24,6 +24,11 @@ #include <curl/curl.h> #include "download.h" +#include "common.h" + +#ifdef WIN32 +#define ftello(x) ftell(x) +#endif typedef struct { int length; |