mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-27 22:49:25 +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:
@@ -1527,7 +1527,7 @@ struct ObstaclesRemoved : public CPackForClient //3014
|
||||
}
|
||||
};
|
||||
|
||||
struct CatapultAttack : public CPackForClient //3015
|
||||
struct DLL_LINKAGE CatapultAttack : public CPackForClient //3015
|
||||
{
|
||||
struct AttackInfo
|
||||
{
|
||||
@@ -1543,8 +1543,7 @@ struct CatapultAttack : public CPackForClient //3015
|
||||
}
|
||||
};
|
||||
|
||||
DLL_LINKAGE CatapultAttack();
|
||||
DLL_LINKAGE ~CatapultAttack();
|
||||
CatapultAttack() {type = 3015;}
|
||||
|
||||
DLL_LINKAGE void applyGs(CGameState *gs);
|
||||
void applyCl(CClient *cl);
|
||||
|
||||
Reference in New Issue
Block a user