Fix packing of structures.
Modified: trunk/reactos/include/sm/api.h
_____
Modified: trunk/reactos/include/sm/api.h
--- trunk/reactos/include/sm/api.h 2005-06-17 16:26:04 UTC (rev
15989)
+++ trunk/reactos/include/sm/api.h 2005-06-17 16:35:17 UTC (rev
15990)
@@ -4,13 +4,11 @@
#include <sm/ns.h>
-#pragma pack(push,4)
-
/*** DATA TYPES ******************************************************/
#define SM_SB_NAME_MAX_LENGTH 120
-#pragma pack(push,4)
+#include <pshpack4.h>
/* SmConnectApiPort (SS->SM) */
typedef struct _SM_CONNECT_DATA
@@ -136,7 +134,7 @@
};
} SM_PORT_MESSAGE, * PSM_PORT_MESSAGE;
-#pragma pack(pop)
+#include <poppack.h>
/*** MACRO ***********************************************************/
Show replies by date