From: Gisle Vanem Date: Thu, 15 Jul 2021 09:52:06 +0000 (+0200) Subject: [PellesC] fix _lseeki64() macro X-Git-Tag: curl-7_78_0~36 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bc035f5c9dc4e0387a615d2cc5914f37a90be1e2;p=thirdparty%2Fcurl.git [PellesC] fix _lseeki64() macro --- diff --git a/src/tool_cb_see.c b/src/tool_cb_see.c index e96aa64443..c158c8dffb 100644 --- a/src/tool_cb_see.c +++ b/src/tool_cb_see.c @@ -100,6 +100,7 @@ int tool_seek_cb(void *userdata, curl_off_t offset, int whence) /* 64-bit lseek-like function unavailable */ # define _lseeki64(hnd,ofs,whence) _lseek(hnd,ofs,whence) # else +# undef _lseeki64 # define _lseeki64(hnd,ofs,whence) _lseek64(hnd,ofs,whence) # endif #endif