From: Jeff Hostetler via GitGitGadget Date: Tue, 25 Jun 2019 14:49:37 GMT Subject: [PATCH v3 12/20] msvc: define ftello() Message-ID: <7cfd0fc9b42eee9bac026f7541b6cceec215000b.1561474167.git.gitgitgadget@gmail.com> In-Reply-To: From: Jeff Hostetler It is just called differently in MSVC's headers. Signed-off-by: Jeff Hostetler Signed-off-by: Johannes Schindelin --- compat/msvc.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/compat/msvc.h b/compat/msvc.h index d336d80670..d7525cf61d 100644 --- a/compat/msvc.h +++ b/compat/msvc.h @@ -18,6 +18,8 @@ #undef ERROR +#define ftello _ftelli64 + typedef int sigset_t; /* open for reading, writing, or both (not in fcntl.h) */ #define O_ACCMODE (_O_RDONLY | _O_WRONLY | _O_RDWR) -- gitgitgadget