Skip to content

Commit 9fee354

Browse files
jeffhostetlerdscho
authored andcommitted
msvc: define ftello()
It is just called differently in MSVC's headers. Signed-off-by: Jeff Hostetler <jeffhost@microsoft.com> Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
1 parent e1c3d6e commit 9fee354

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
@@ -24,6 +24,8 @@ static __inline int strcasecmp (const char *s1, const char *s2)
2424

2525
#undef ERROR
2626

27+
#define ftello _ftelli64
28+
2729
typedef int sigset_t;
2830
/* open for reading, writing, or both (not in fcntl.h) */
2931
#define O_ACCMODE (_O_RDONLY | _O_WRONLY | _O_RDWR)

0 commit comments

Comments
 (0)