summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--config.h.cmake2
-rw-r--r--libkdcraw/libkdcraw/libkdcraw_export.h4
2 files changed, 2 insertions, 4 deletions
diff --git a/config.h.cmake b/config.h.cmake
index cf3d263..96515f0 100644
--- a/config.h.cmake
+++ b/config.h.cmake
@@ -1,7 +1,7 @@
#define VERSION "@VERSION@"
// Defined if you have fvisibility and fvisibility-inlines-hidden support.
-#cmakedefine __KDE_HAVE_GCC_VISIBILITY 1
+#cmakedefine __TDE_HAVE_GCC_VISIBILITY 1
/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
significant byte first (like Motorola and SPARC, unlike Intel). */
diff --git a/libkdcraw/libkdcraw/libkdcraw_export.h b/libkdcraw/libkdcraw/libkdcraw_export.h
index 775da39..8e9b9e6 100644
--- a/libkdcraw/libkdcraw/libkdcraw_export.h
+++ b/libkdcraw/libkdcraw/libkdcraw_export.h
@@ -23,15 +23,13 @@
#ifndef _LIBKDCRAW_EXPORT_H
#define _LIBKDCRAW_EXPORT_H
-#ifdef KDEMACROS_USABLE
#include <tdemacros.h>
-#endif
#ifdef TDE_EXPORT
# define LIBKDCRAW_NO_EXPORT TDE_NO_EXPORT
# define LIBKDCRAW_EXPORT TDE_EXPORT
#else
-# ifdef __KDE_HAVE_GCC_VISIBILITY
+# ifdef __TDE_HAVE_GCC_VISIBILITY
# define LIBKDCRAW_NO_EXPORT __attribute__ ((visibility("hidden")))
# define LIBKDCRAW_EXPORT __attribute__ ((visibility("default")))
# else