[poppler] goo/gfile.cc

Albert Astals Cid aacid at kemper.freedesktop.org
Tue Mar 20 22:44:47 UTC 2018


 goo/gfile.cc |    4 ++++
 1 file changed, 4 insertions(+)

New commits:
commit 46543272dbe7655821e1c794ca3cc22e8cb4cef9
Author: Albert Astals Cid <aacid at kde.org>
Date:   Tue Mar 20 23:44:23 2018 +0100

    gfile: Fix windows build

diff --git a/goo/gfile.cc b/goo/gfile.cc
index 218882d3..06014b3e 100644
--- a/goo/gfile.cc
+++ b/goo/gfile.cc
@@ -65,6 +65,8 @@
 #define PATH_MAX 1024
 #endif
 
+#ifndef _WIN32
+
 namespace {
 
 template< typename... >
@@ -99,6 +101,8 @@ inline const struct timespec& mtim(const struct stat& stbuf) {
 
 }
 
+#endif
+
 //------------------------------------------------------------------------
 
 GooString *getCurrentDir() {


More information about the poppler mailing list