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>
pull/291/head
Michele Calgaro 5 months ago
parent f613dab3b8
commit 0535c10ec2
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -186,9 +186,6 @@
/* Defined if you have elficon support. */ /* Defined if you have elficon support. */
#cmakedefine HAVE_ELFICON 1 #cmakedefine HAVE_ELFICON 1
/* Defined if you have fvisibility and fvisibility-inlines-hidden support. */
#cmakedefine __KDE_HAVE_GCC_VISIBILITY 1
/* Define is posix_fadvise is supported */ /* Define is posix_fadvise is supported */
#cmakedefine HAVE_FADVISE #cmakedefine HAVE_FADVISE
@ -1182,9 +1179,6 @@ int snprintf(char *str, size_t n, char const *fmt, ...);
/* execprefix or NONE if not set, for libloading */ /* execprefix or NONE if not set, for libloading */
#undef __KDE_EXECPREFIX #undef __KDE_EXECPREFIX
/* define to 1 if -fvisibility is supported */
#undef __KDE_HAVE_GCC_VISIBILITY
/* path to su */ /* path to su */
#cmakedefine __PATH_SU "@__PATH_SU@" #cmakedefine __PATH_SU "@__PATH_SU@"

@ -33,9 +33,9 @@
#define KJS_PACKED #define KJS_PACKED
#endif #endif
#cmakedefine __KDE_HAVE_GCC_VISIBILITY 1 #cmakedefine __TDE_HAVE_GCC_VISIBILITY 1
#ifdef __KDE_HAVE_GCC_VISIBILITY #ifdef __TDE_HAVE_GCC_VISIBILITY
#define KJS_EXPORT __attribute__ ((visibility("default"))) #define KJS_EXPORT __attribute__ ((visibility("default")))
#else #else
#define KJS_EXPORT #define KJS_EXPORT

@ -1,5 +1,5 @@
/* This file is part of the KDE libraries /* This file is part of the TDE libraries
Copyright (c) 2002-2003 KDE Team Copyright (c) 2002-2003 TDE Team
This library is free software; you can redistribute it and/or This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public modify it under the terms of the GNU Library General Public
@ -22,7 +22,10 @@
/* Set by configure */ /* Set by configure */
#cmakedefine __TDE_HAVE_TDEHWLIB 1 #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 * The TDE_NO_EXPORT macro marks the symbol of the given variable
@ -38,7 +41,7 @@
* \end * \end
*/ */
#ifdef __KDE_HAVE_GCC_VISIBILITY #ifdef __TDE_HAVE_GCC_VISIBILITY
#define TDE_NO_EXPORT __attribute__ ((visibility("hidden"))) #define TDE_NO_EXPORT __attribute__ ((visibility("hidden")))
#define TDE_EXPORT __attribute__ ((visibility("default"))) #define TDE_EXPORT __attribute__ ((visibility("default")))
#elif defined(TQ_WS_WIN) #elif defined(TQ_WS_WIN)

@ -21,7 +21,7 @@
#define _TDE_MACROS_H_ #define _TDE_MACROS_H_
/* Set by configure */ /* 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 * The TDE_NO_EXPORT macro marks the symbol of the given variable
@ -37,7 +37,7 @@
* \end * \end
*/ */
#ifdef __KDE_HAVE_GCC_VISIBILITY #ifdef __TDE_HAVE_GCC_VISIBILITY
#define TDE_NO_EXPORT __attribute__ ((visibility("hidden"))) #define TDE_NO_EXPORT __attribute__ ((visibility("hidden")))
#define TDE_EXPORT __attribute__ ((visibility("default"))) #define TDE_EXPORT __attribute__ ((visibility("default")))
#elif defined(TQ_WS_WIN) #elif defined(TQ_WS_WIN)

@ -48,7 +48,7 @@ int main(int argc, char *argv[])
::exit( 1 ); ::exit( 1 );
} }
#ifndef __KDE_HAVE_GCC_VISIBILITY #ifndef __TDE_HAVE_GCC_VISIBILITY
TDEHTMLFactory *fac = new TDEHTMLFactory(true); TDEHTMLFactory *fac = new TDEHTMLFactory(true);
#endif #endif
@ -130,7 +130,7 @@ int main(int argc, char *argv[])
int ret = a.exec(); int ret = a.exec();
#ifndef __KDE_HAVE_GCC_VISIBILITY #ifndef __TDE_HAVE_GCC_VISIBILITY
fac->deref(); fac->deref();
#endif #endif
return ret; return ret;

Loading…
Cancel
Save