MythTV  master
mythtvexp.h
Go to the documentation of this file.
1 #ifndef MYTHTVEXP_H_
2 #define MYTHTVEXP_H_
3 
4 // This header is called from some non-QT projects,
5 // and if non C++ then Q_DECL_XXX never defined
6 
7 #if defined( QT_CORE_LIB ) && defined( __cplusplus )
8 # include <QtCore/qglobal.h>
9 # ifdef MTV_API
10 # define MTV_PUBLIC Q_DECL_EXPORT
11 # else
12 # define MTV_PUBLIC Q_DECL_IMPORT
13 # endif
14 #else
15 # define MTV_PUBLIC
16 #endif
17 
18 #if ((__GNUC__ > 4) || ((__GNUC__ == 4) && (__GNUC_MINOR__ >= 2)))
19 # define MALIGN32 __attribute__ ((aligned (32)))
20 #else
21 # define MALIGN32
22 #endif
23 
24 #endif // MYTHTVEXP_H_