Procházet zdrojové kódy

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

Ivan Savenko před 11 roky
rodič
revize
3b0ecee678
1 změnil soubory, kde provedl 6 přidání a 0 odebrání
  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
 	{