Commit 185c2b8a authored by Sergei Golubchik's avatar Sergei Golubchik

#pragma pack() syntax compatible with sun studio

parent 14c14661
...@@ -31,12 +31,12 @@ typedef struct st_wt_resource_type { ...@@ -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
......
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