summaryrefslogtreecommitdiffstats
path: root/tdecore/tdesycoca.cpp
diff options
context:
space:
mode:
authorDenis Kozadaev <denis@dilos.org>2023-05-14 12:34:44 +0300
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-05-22 10:41:26 +0900
commite5acdb1b39fa7d97d7153741202709e078b463a6 (patch)
tree8fdda91a64ae0c7f35474d44e29139f38f297958 /tdecore/tdesycoca.cpp
parent394b5ef0fb0e0555d16bced7c4c2c1b2ac1a8463 (diff)
downloadtdelibs-e5acdb1b39fa7d97d7153741202709e078b463a6.tar.gz
tdelibs-e5acdb1b39fa7d97d7153741202709e078b463a6.zip
Add SunOS specific patches
Signed-off-by: Denis Kozadaev <denis@dilos.org>
Diffstat (limited to 'tdecore/tdesycoca.cpp')
-rw-r--r--tdecore/tdesycoca.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tdecore/tdesycoca.cpp b/tdecore/tdesycoca.cpp
index a11175117..c109d5ff4 100644
--- a/tdecore/tdesycoca.cpp
+++ b/tdecore/tdesycoca.cpp
@@ -42,7 +42,7 @@
#include <sys/mman.h>
#endif
-#ifdef Q_OS_SOLARIS
+#if defined(Q_OS_SOLARIS) && !defined(__dilos__)
extern "C"
{
extern int madvise(caddr_t, size_t, int);