blob: 0647e19470f983c040e527e04e4c9dc90172da18 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
diff -ur poppler-0.63.0/goo/gfile.cc poppler-src/goo/gfile.cc
--- poppler-0.63.0/goo/gfile.cc Mon Mar 19 03:23:49 2018
+++ poppler-src/goo/gfile.cc Wed Mar 21 06:24:52 2018
@@ -80,7 +80,14 @@
struct StatMtim
{
static const struct timespec& value(const Stat& stbuf) {
+#if defined(_WIN32)
+ static struct timespec t_spec;
+ t_spec.tv_sec=stbuf.st_mtime;
+ t_spec.tv_nsec=0;
+ return t_spec;
+#else
return stbuf.st_mtim;
+#endif
}
};
|