Skip to content

Commit 370bf48

Browse files
jeffhostetlerdscho
authored andcommitted
msvc: define ftello()
It is just called differently in MSVC's headers. Signed-off-by: Jeff Hostetler <[email protected]> Signed-off-by: Johannes Schindelin <[email protected]>
1 parent 8096d78 commit 370bf48

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

compat/msvc.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@
1818

1919
#undef ERROR
2020

21+
#define ftello _ftelli64
22+
2123
typedef int sigset_t;
2224
/* open for reading, writing, or both (not in fcntl.h) */
2325
#define O_ACCMODE (_O_RDONLY | _O_WRONLY | _O_RDWR)

0 commit comments

Comments
 (0)