]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
[PellesC] fix _lseeki64() macro
authorGisle Vanem <gisle.vanem@gmail.com>
Thu, 15 Jul 2021 09:52:06 +0000 (11:52 +0200)
committerGisle Vanem <gvanem@yahoo.no>
Fri, 16 Jul 2021 05:32:06 +0000 (07:32 +0200)
src/tool_cb_see.c

index e96aa644439086d60211a7849183f939fff5a457..c158c8dffbcf97fa05bae8e4cf2a1b9985b1046d 100644 (file)
@@ -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