1
0
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:
Ivan Savenko
2014-06-24 00:05:53 +03:00
parent db49798b4d
commit 13bc4cb24f
5 changed files with 25 additions and 31 deletions

View File

@@ -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);