aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorariel- <ariel-@users.noreply.github.com>2016-07-19 12:16:29 -0300
committerariel- <ariel-@users.noreply.github.com>2016-07-19 12:16:29 -0300
commit5fb93b3fb8b2600d4e59d2ddbccfcbdfc27c7526 (patch)
treec87b184d9a39ebc6aae3b65e0191a452ee269e91
parent716b2fe167e2bf45e0fe5d21634f7ec5336715ae (diff)
Core/Entities: removed obsolete pragma macro (Ref: ba9e0de36dae55d4399235277df77cd40af3d36b)
-rw-r--r--src/server/game/Entities/Item/ItemTemplate.h10
1 files changed, 0 insertions, 10 deletions
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