diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-07-11 11:50:13 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-07-12 14:28:26 +0900 |
commit | 0535c10ec2bf0638e784657965c8e5314ff49547 (patch) | |
tree | a88e22369b92f0518dbb543c8a06f180f1a0a2b9 /tdecore | |
parent | f613dab3b83b4e6eb7115c90276559cc046f2525 (diff) | |
download | tdelibs-0535c10ec2bf0638e784657965c8e5314ff49547.tar.gz tdelibs-0535c10ec2bf0638e784657965c8e5314ff49547.zip |
Rename __KDE_HAVE_GCC_VISIBILITY to __TDE_HAVE_GCC_VISIBILITY. Temporarily __KDE_HAVE_GCC_VISIBILITY is still provided, till renaming on all TDE code base is completed.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'tdecore')
-rw-r--r-- | tdecore/tdemacros.h.cmake | 11 | ||||
-rw-r--r-- | tdecore/tdemacros.h.in | 4 |
2 files changed, 9 insertions, 6 deletions
diff --git a/tdecore/tdemacros.h.cmake b/tdecore/tdemacros.h.cmake index b8d5abd43..543e3f8f0 100644 --- a/tdecore/tdemacros.h.cmake +++ b/tdecore/tdemacros.h.cmake @@ -1,5 +1,5 @@ -/* This file is part of the KDE libraries - Copyright (c) 2002-2003 KDE Team +/* This file is part of the TDE libraries + Copyright (c) 2002-2003 TDE Team This library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public @@ -22,7 +22,10 @@ /* Set by configure */ #cmakedefine __TDE_HAVE_TDEHWLIB 1 -#cmakedefine __KDE_HAVE_GCC_VISIBILITY 1 +#cmakedefine __TDE_HAVE_GCC_VISIBILITY 1 +#ifdef __TDE_HAVE_GCC_VISIBILITY +#define __KDE_HAVE_GCC_VISIBILITY __TDE_HAVE_GCC_VISIBILITY +#endif /** * The TDE_NO_EXPORT macro marks the symbol of the given variable @@ -38,7 +41,7 @@ * \end */ -#ifdef __KDE_HAVE_GCC_VISIBILITY +#ifdef __TDE_HAVE_GCC_VISIBILITY #define TDE_NO_EXPORT __attribute__ ((visibility("hidden"))) #define TDE_EXPORT __attribute__ ((visibility("default"))) #elif defined(TQ_WS_WIN) diff --git a/tdecore/tdemacros.h.in b/tdecore/tdemacros.h.in index 721b6849b..9df1a77ab 100644 --- a/tdecore/tdemacros.h.in +++ b/tdecore/tdemacros.h.in @@ -21,7 +21,7 @@ #define _TDE_MACROS_H_ /* Set by configure */ -#undef __KDE_HAVE_GCC_VISIBILITY +#undef __TDE_HAVE_GCC_VISIBILITY /** * The TDE_NO_EXPORT macro marks the symbol of the given variable @@ -37,7 +37,7 @@ * \end */ -#ifdef __KDE_HAVE_GCC_VISIBILITY +#ifdef __TDE_HAVE_GCC_VISIBILITY #define TDE_NO_EXPORT __attribute__ ((visibility("hidden"))) #define TDE_EXPORT __attribute__ ((visibility("default"))) #elif defined(TQ_WS_WIN) |