From: Yang Tse Date: Tue, 1 Nov 2011 11:53:23 +0000 (+0100) Subject: tool_cb_see.h: fix compiler warning X-Git-Tag: curl-7_23_0~20 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9cfc0c73a7d4b664b532c108bd2d5f8078972f9d;p=thirdparty%2Fcurl.git tool_cb_see.h: fix compiler warning --- diff --git a/src/tool_cb_see.h b/src/tool_cb_see.h index 530bfacbab..1c14a8f740 100644 --- a/src/tool_cb_see.h +++ b/src/tool_cb_see.h @@ -27,6 +27,7 @@ int tool_ftruncate64(int fd, curl_off_t where); +#undef ftruncate #define ftruncate(fd,where) tool_ftruncate64(fd,where) #ifndef HAVE_FTRUNCATE