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>
This commit is contained in:
Jeff Hostetler
2016-06-03 15:38:25 -04:00
committed by Johannes Schindelin
parent e1c3d6e1ec
commit 9fee354782

View File

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