diff options
author | mark@chromium.org <mark@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-03-24 19:10:38 +0000 |
---|---|---|
committer | mark@chromium.org <mark@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-03-24 19:10:38 +0000 |
commit | d62232baeefd5a2b0385238647266d26332628d0 (patch) | |
tree | 2bb43f21da65d9426466b05408ed50abeb95d665 /net | |
parent | 28a45c708dd128ee9e61c547f7d10cd55530f374 (diff) | |
download | chromium_src-d62232baeefd5a2b0385238647266d26332628d0.zip chromium_src-d62232baeefd5a2b0385238647266d26332628d0.tar.gz chromium_src-d62232baeefd5a2b0385238647266d26332628d0.tar.bz2 |
Use #pragma pack as documented to work with GCC and MSVC
Review URL: http://codereview.chromium.org/49017
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12384 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net')
-rw-r--r-- | net/disk_cache/disk_format.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/disk_cache/disk_format.h b/net/disk_cache/disk_format.h index 1d5dcd7..0873e4d 100644 --- a/net/disk_cache/disk_format.h +++ b/net/disk_cache/disk_format.h @@ -138,7 +138,7 @@ enum EntryState { ENTRY_DOOMED // The entry was doomed. }; -#pragma pack(push, old, 4) +#pragma pack(push, 4) // Rankings information for a given entry. struct RankingsNode { uint64 last_used; // LRU info. @@ -149,7 +149,7 @@ struct RankingsNode { int32 dirty; // The entry is being modifyied. void* pointer; // Pointer to the in-memory entry. }; -#pragma pack(pop, old) +#pragma pack(pop) COMPILE_ASSERT(sizeof(RankingsNode) == 36, bad_RankingsNode); |