diff options
author | Kirill Volinsky <mataes2007@gmail.com> | 2013-09-16 14:27:58 +0000 |
---|---|---|
committer | Kirill Volinsky <mataes2007@gmail.com> | 2013-09-16 14:27:58 +0000 |
commit | 3d60e28ce573bfd28286d108eeb43ec29bf44d48 (patch) | |
tree | 809f1a8ef1739badd72137422324bfd9bdaeec06 /plugins/Ping/src | |
parent | 376a1a5f4c37183a64aa83b0225ce9bb20c8605b (diff) |
removed not needed _MSC_VER checks
removed double comstant from modern
warning fix
git-svn-id: http://svn.miranda-ng.org/main/trunk@6087 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Ping/src')
-rw-r--r-- | plugins/Ping/src/rawping.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/plugins/Ping/src/rawping.h b/plugins/Ping/src/rawping.h index 635a220129..f5d9f877f5 100644 --- a/plugins/Ping/src/rawping.h +++ b/plugins/Ping/src/rawping.h @@ -14,11 +14,9 @@ // Minimum ICMP packet size, in bytes
#define ICMP_MIN 8
-#ifdef _MSC_VER
// The following two structures need to be packed tightly, but unlike
// Borland C++, Microsoft C++ does not do this by default.
#pragma pack(1)
-#endif
// The IP header
struct IPHeader {
@@ -44,9 +42,7 @@ struct ICMPHeader { USHORT seq;
};
-#ifdef _MSC_VER
#pragma pack()
-#endif
extern USHORT ip_checksum(USHORT* buffer, int size);
|