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:
@@ -31,12 +31,12 @@ typedef struct st_wt_resource_type {
|
|||||||
} WT_RESOURCE_TYPE;
|
} WT_RESOURCE_TYPE;
|
||||||
|
|
||||||
/* we want to compare this struct with memcmp, make it packed */
|
/* we want to compare this struct with memcmp, make it packed */
|
||||||
#pragma pack(push,1)
|
#pragma pack(1)
|
||||||
struct st_wt_resource_id {
|
struct st_wt_resource_id {
|
||||||
ulonglong value;
|
ulonglong value;
|
||||||
WT_RESOURCE_TYPE *type;
|
WT_RESOURCE_TYPE *type;
|
||||||
};
|
};
|
||||||
#pragma pack(pop)
|
#pragma pack()
|
||||||
|
|
||||||
#define WT_WAIT_STATS 24
|
#define WT_WAIT_STATS 24
|
||||||
#define WT_CYCLE_STATS 32
|
#define WT_CYCLE_STATS 32
|
||||||
|
Reference in New Issue
Block a user