git.99rst.org
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
| inline |
side by side
(parent:
172e54e
)
msvc: define ftello()
author
Jeff Hostetler
<redacted>
Wed, 19 Jun 2019 21:06:04 +0000
(14:06 -0700)
committer
Junio C Hamano
<redacted>
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 <redacted>
Signed-off-by: Johannes Schindelin <redacted>
Signed-off-by: Junio C Hamano <redacted>
compat/msvc.h
patch
|
blob
|
history
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)
git clone https://git.99rst.org/PROJECT