diff options
Diffstat (limited to 'plugins/Ping')
-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);
|