1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-08 11:22:35 +03:00

#pragma pack() syntax compatible with sun studio

This commit is contained in:
Sergei Golubchik
2008-10-27 23:23:34 +01:00
parent 14c1466187
commit 185c2b8a3a

View File

@@ -31,12 +31,12 @@ typedef struct st_wt_resource_type {
} WT_RESOURCE_TYPE;
/* we want to compare this struct with memcmp, make it packed */
#pragma pack(push,1)
#pragma pack(1)
struct st_wt_resource_id {
ulonglong value;
WT_RESOURCE_TYPE *type;
};
#pragma pack(pop)
#pragma pack()
#define WT_WAIT_STATS 24
#define WT_CYCLE_STATS 32