Browse Source

Ugly workaround for DLL_LINKAGE issue. Should be removed once I figure
out what's triggering it.

Ivan Savenko 11 years ago
parent
commit
3b0ecee678
1 changed files with 6 additions and 0 deletions
  1. 6 0
      lib/NetPacks.h

+ 6 - 0
lib/NetPacks.h

@@ -1512,7 +1512,13 @@ struct ObstaclesRemoved : public CPackForClient //3014
 	}
 };
 
+//FIXME: figure out why gcc fails to find type_info for this class with -fvisibility=hidden flag set
+#ifdef __linux__
+struct DLL_LINKAGE CatapultAttack : public CPackForClient //3015
+#else
 struct CatapultAttack : public CPackForClient //3015
+#endif
+
 {
 	struct AttackInfo
 	{