[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdelibs/kjsembed/kjsembed
From:       David Faure <faure () kde ! org>
Date:       2006-05-10 12:51:43
Message-ID: 1147265503.343280.31969.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 539342 by dfaure:

Use the kde macros for visibility, not the qt ones. With some compilers (e.g. gcc-3.4 \
with backported visibility patch), visibility can be disabled in qt and enabled in \
kde.


 M  +5 -5      global.h  


--- trunk/KDE/kdelibs/kjsembed/kjsembed/global.h #539341:539342
@@ -21,16 +21,16 @@
 #ifndef KJSEMBED_GLOBAL_H
 #define KJSEMBED_GLOBAL_H
 
-#include <qglobal.h>	// we need some macros
-// unsermake seems not to like our macros - disable it for linux for now
+#include <kdemacros.h>
+
 #if defined(Q_OS_WIN)
 # if (defined(KJSEMBED_DLL) && defined(KJSEMBED_MAKE_DLL)) || \
                defined(MAKE_KJSEMBED_LIB)
-#  define KJSEMBED_EXPORT Q_DECL_EXPORT
+#  define KJSEMBED_EXPORT KDE_EXPORT
 # else
-#  define KJSEMBED_EXPORT Q_DECL_IMPORT
+#  define KJSEMBED_EXPORT KDE_IMPORT
 # endif
 #else
-# define KJSEMBED_EXPORT Q_DECL_EXPORT
+# define KJSEMBED_EXPORT KDE_EXPORT
 #endif
 
 #if !defined(Q_OS_WIN)


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic