From bc035f5c9dc4e0387a615d2cc5914f37a90be1e2 Mon Sep 17 00:00:00 2001 From: Gisle Vanem Date: Thu, 15 Jul 2021 11:52:06 +0200 Subject: [PellesC] fix _lseeki64() macro --- src/tool_cb_see.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src') diff --git a/src/tool_cb_see.c b/src/tool_cb_see.c index e96aa6444..c158c8dff 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 -- cgit v1.2.1