projects
/
platform
/
upstream
/
glib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Internally use the _stati64 API explicitly on Windows
[platform/upstream/glib.git]
/
glib
/
gmappedfile.c
diff --git
a/glib/gmappedfile.c
b/glib/gmappedfile.c
index
347f964
..
59a1a3e
100644
(file)
--- a/
glib/gmappedfile.c
+++ b/
glib/gmappedfile.c
@@
-38,9
+38,8
@@
#include <windows.h>
#include <io.h>
-#ifdef _MSC_VER
-#define fstat(a,b) _fstat(a,b)
-#endif
+#define fstat(a,b) _fstati64(a,b)
+#define stat _stati64
#endif