[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: [kdelibs/frameworks] tier1/karchive/src: in karchive, work around the lack of QT_STAT_LNK on some pl
From: Sune Vuorela <sune () vuorela ! dk>
Date: 2013-10-27 13:54:19
Message-ID: E1VaQnL-0004Xi-Lf () scm ! kde ! org
[Download RAW message or body]
Git commit 4b2fb3c7a6a5499d82735da8c2cea84d65f7835d by Sune Vuorela.
Committed on 27/10/2013 at 13:50.
Pushed by sune into branch 'frameworks'.
in karchive, work around the lack of QT_STAT_LNK on some platforms
M +7 -0 tier1/karchive/src/kzip.cpp
http://commits.kde.org/kdelibs/4b2fb3c7a6a5499d82735da8c2cea84d65f7835d
diff --git a/tier1/karchive/src/kzip.cpp b/tier1/karchive/src/kzip.cpp
index de9a94a..f00f58e 100644
--- a/tier1/karchive/src/kzip.cpp
+++ b/tier1/karchive/src/kzip.cpp
@@ -35,6 +35,13 @@
#include <zlib.h>
#include <string.h>
+#ifndef _S_IFLNK
+# define _S_IFLNK 0120000
+#endif // _S_IFLNK
+#ifndef QT_STAT_LNK
+# define QT_STAT_LNK 0120000
+#endif // QT_STAT_LNK
+
static const int max_path_len = 4095; // maximum number of character a path may contain
static void transformToMsDos(const QDateTime& _dt, char* buffer)
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic