msvc: define ftello()
[gitweb.git] / compat / msvc.h
index d336d806704d3902c2b631053574626abab3adc1..d7525cf61dabf66d4c9e42cc33bda4346720f61d 100644 (file)
@@ -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)