瀏覽代碼

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

Ivan Savenko 11 年之前
父節點
當前提交
3b0ecee678
共有 1 個文件被更改,包括 6 次插入0 次删除
  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
 	{