Commit 55954a4d authored by rswindell's avatar rswindell

Using the #pragma pack(push,n) syntax introduced by Deuce in his last commits.

parent 61393da8
......@@ -73,8 +73,7 @@
#endif
#if defined(PRAGMA_PACK)
#pragma pack(push) /* Disk image structures must be packed */
#pragma pack(1)
#pragma pack(push,1) /* Disk image structures must be packed */
#endif
typedef struct _PACK { /* Fidonet Packet Header */
......
......@@ -50,8 +50,7 @@
#include "smbdefs.h" /* _PACK */
#if defined(_WIN32) || defined(__BORLANDC__)
#pragma pack(push)
#pragma pack(1)
#pragma pack(push,1) /* Packet structures must be packed */
#endif
typedef struct _PACK {
......
......@@ -106,8 +106,7 @@ enum { /* Node Action */
};
#if defined(_WIN32) || defined(__BORLANDC__) /* necessary for compatibility with SBBS v2 */
#pragma pack(push,1)
#pragma pack(1)
#pragma pack(push,1)
#endif
#define SIZEOF_NODE_T 15 /* Must == sizeof(node_t) */
......
......@@ -427,8 +427,7 @@ enum {
#endif
#if defined(PRAGMA_PACK)
#pragma pack(push,1) /* Disk image structures must be packed */
#pragma pack(1)
#pragma pack(push,1) /* Disk image structures must be packed */
#endif
typedef struct _PACK { /* Time with time-zone */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment