Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
msvc: define ftello()
author
Jeff Hostetler
<jeffhost@microsoft.com>
Wed, 19 Jun 2019 21:06:04 +0000
(14:06 -0700)
committer
Junio C Hamano
<gitster@pobox.com>
Thu, 20 Jun 2019 21:03:05 +0000
(14:03 -0700)
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>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
compat/msvc.h
patch
|
blob
|
history
raw
|
patch
| inline |
side by side
(parent:
172e54e
)
diff --git
a/compat/msvc.h
b/compat/msvc.h
index d336d806704d3902c2b631053574626abab3adc1..d7525cf61dabf66d4c9e42cc33bda4346720f61d 100644
(file)
--- 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)