summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGisle Vanem <gisle.vanem@gmail.com>2021-07-15 11:52:06 +0200
committerGisle Vanem <gvanem@yahoo.no>2021-07-16 07:32:06 +0200
commitbc035f5c9dc4e0387a615d2cc5914f37a90be1e2 (patch)
treeaaba005258873c62d0b2df961dccca39d9122e57 /src
parentc6fd7cbf10c08bfe41779237487e622d2ff213f8 (diff)
downloadcurl-bc035f5c9dc4e0387a615d2cc5914f37a90be1e2.tar.gz
[PellesC] fix _lseeki64() macro
Diffstat (limited to 'src')
-rw-r--r--src/tool_cb_see.c1
1 files changed, 1 insertions, 0 deletions
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