mirror of
https://github.com/vcmi/vcmi.git
synced 2025-06-15 00:05:02 +02:00
Added -fvisibility=hidden parameter for gcc.
Should help a bit with endless missing DLL_LINKAGE attributes and (according to gcc docs) help a bit with library loading times.
This commit is contained in:
@ -25,7 +25,7 @@ struct ArtSlotInfo;
|
||||
#include "GameConstants.h"
|
||||
|
||||
|
||||
struct CPack
|
||||
struct DLL_LINKAGE CPack
|
||||
{
|
||||
ui16 type;
|
||||
|
||||
@ -37,7 +37,7 @@ struct CPack
|
||||
logNetwork->errorStream() << "CPack serialized... this should not happen!";
|
||||
}
|
||||
void applyGs(CGameState *gs) { }
|
||||
virtual std::string toString() const { return boost::str(boost::format("{CPack: type '%d'}") % type); }
|
||||
DLL_LINKAGE virtual std::string toString() const { return boost::str(boost::format("{CPack: type '%d'}") % type); }
|
||||
};
|
||||
|
||||
std::ostream & operator<<(std::ostream & out, const CPack * pack);
|
||||
@ -197,4 +197,4 @@ struct ArtifactLocation
|
||||
{
|
||||
h & artHolder & slot;
|
||||
}
|
||||
};
|
||||
};
|
||||
|
Reference in New Issue
Block a user