kdemacros.h
00001 
00002 
00003 
00004 
00005 
00006 
00007 
00008 
00009 
00010 
00011 
00012 
00013 
00014 
00015 
00016 
00017 
00018 
00019 
00020 #ifndef _KDE_MACROS_H_
00021 #define _KDE_MACROS_H_
00022 
00037 #if __GNUC__ - 0 > 3 || (__GNUC__ - 0 == 3 && __GNUC_MINOR__ - 0 > 2)
00038 #define KDE_NO_EXPORT __attribute__ ((visibility("hidden")))
00039 #define KDE_EXPORT __attribute__ ((visibility("visible")))
00040 #else
00041 #define KDE_NO_EXPORT
00042 #define KDE_EXPORT
00043 #endif
00044 
00050 #ifdef __GNUC__
00051 #define KDE_PACKED __attribute__((__packed__))
00052 #else
00053 #define KDE_PACKED
00054 #endif
00055 
00099 #if __GNUC__ - 0 > 3 || (__GNUC__ - 0 == 3 && __GNUC_MINOR__ - 0 >= 2)
00100 # define KDE_DEPRECATED __attribute__ ((deprecated))
00101 #else
00102 # define KDE_DEPRECATED
00103 #endif
00104 
00105 #endif // _KDE_MACROS_H_
 
This file is part of the documentation for kdecore Library Version 3.2.0.