Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions mythtv/libs/libmyth/mythexp.h
Original file line number Diff line number Diff line change
@@ -1,14 +1,12 @@
#ifndef MYTHEXP_H_
#define MYTHEXP_H_

#ifdef __cplusplus
#include <QtCore/qglobal.h>
#include <QtGlobal>

#ifdef MYTH_API
# define MPUBLIC Q_DECL_EXPORT
#else
# define MPUBLIC Q_DECL_IMPORT
#endif
#endif /* __cplusplus */

#endif /* MYTHEXP_H_ */
15 changes: 4 additions & 11 deletions mythtv/libs/libmythbase/mythbaseexp.h
Original file line number Diff line number Diff line change
@@ -1,18 +1,11 @@
#ifndef MYTHBASEEXP_H_
#define MYTHBASEEXP_H_

// This header is called from some non-QT projects,
// and if non C++ then Q_DECL_XXX never defined

#if defined( QT_CORE_LIB ) && defined( __cplusplus )
# include <QtCore/qglobal.h>
# if defined(MBASE_API) || defined(MPLUGIN_API)
# define MBASE_PUBLIC Q_DECL_EXPORT
# else
# define MBASE_PUBLIC Q_DECL_IMPORT
# endif
#include <QtGlobal>
#if defined(MBASE_API)
# define MBASE_PUBLIC Q_DECL_EXPORT
#else
# define MBASE_PUBLIC
# define MBASE_PUBLIC Q_DECL_IMPORT
#endif

#endif // MYTHBASEEXP_H_
7 changes: 3 additions & 4 deletions mythtv/libs/libmythtv/mythtvexp.h
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
#ifndef MYTHTVEXP_H_
#define MYTHTVEXP_H_

// This header is called from some non-QT projects,
// and if non C++ then Q_DECL_XXX never defined
// Included by libdvdnav and libdvdread C code

#if defined( QT_CORE_LIB ) && defined( __cplusplus )
# include <QtCore/qglobal.h>
#ifdef __cplusplus
# include <QtGlobal>
# ifdef MTV_API
# define MTV_PUBLIC Q_DECL_EXPORT
# else
Expand Down