Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change MPUBLIC to be unique per library
This change is related to MPUBLIC defined in mythexp.h. The way it's used today is incompatible with VS. What has been committed is as follows: * Each library has its own mythXXXexp.h file. * Each library .pro file has a DEFINE added which is used in the mythXXXexp.h to determine if the symbol is being imported or exported * MPUBLIC has been replaced in each source file with one specific for the library in question. These changes have been made to each library / program that uses mythexp.h.
- Loading branch information
Showing
183 changed files
with
714 additions
and
588 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
#ifndef MYTHEXP_H_ | ||
#define MYTHEXP_H_ | ||
|
||
#include <QtCore/qglobal.h> | ||
|
||
#ifdef MYTH_API | ||
# define MPUBLIC Q_DECL_EXPORT | ||
#else | ||
# define MPUBLIC Q_DECL_IMPORT | ||
#endif | ||
|
||
#if (__GNUC__ >= 4) | ||
# define MHIDDEN __attribute__((visibility("hidden"))) | ||
# define MUNUSED __attribute__((unused)) | ||
# define MDEPRECATED __attribute__((deprecated)) | ||
#else | ||
# define MHIDDEN | ||
# define MUNUSED | ||
# define MDEPRECATED | ||
#endif | ||
|
||
#endif // MYTHEXP_H_ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.