From 5fb93b3fb8b2600d4e59d2ddbccfcbdfc27c7526 Mon Sep 17 00:00:00 2001 From: ariel- Date: Tue, 19 Jul 2016 12:16:29 -0300 Subject: Core/Entities: removed obsolete pragma macro (Ref: ba9e0de36dae55d4399235277df77cd40af3d36b) --- src/server/game/Entities/Item/ItemTemplate.h | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'src') diff --git a/src/server/game/Entities/Item/ItemTemplate.h b/src/server/game/Entities/Item/ItemTemplate.h index 5478c43326c..0ff3f00a08b 100644 --- a/src/server/game/Entities/Item/ItemTemplate.h +++ b/src/server/game/Entities/Item/ItemTemplate.h @@ -537,12 +537,7 @@ inline uint8 ItemSubClassToDurabilityMultiplierId(uint32 ItemClass, uint32 ItemS return 0; } -// GCC have alternative #pragma pack(N) syntax and old gcc version not support pack(push, N), also any gcc version not support it at some platform -#if defined(__GNUC__) -#pragma pack(1) -#else #pragma pack(push, 1) -#endif struct _Damage { @@ -573,12 +568,7 @@ struct _Socket uint32 Content; }; -// GCC have alternative #pragma pack() syntax and old gcc version not support pack(pop), also any gcc version not support it at some platform -#if defined(__GNUC__) -#pragma pack() -#else #pragma pack(pop) -#endif #define MAX_ITEM_PROTO_DAMAGES 2 // changed in 3.1.0 #define MAX_ITEM_PROTO_SOCKETS 3 -- cgit v1.2.3