Bug 620888 - ReadParam(msg, iter, uint32) is extracted to ReadParam(msg, iter, size_t/intptr_t) on Windows x86; r=cjones

This commit is contained in:
Makoto Kato 2011-01-28 00:27:00 -05:00
Родитель 279b57c4dc
Коммит 6d125c0f2f
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -219,7 +219,7 @@ struct ParamTraits<unsigned long> {
}
};
#if !(defined(OS_MACOSX) || (defined(CHROMIUM_MOZILLA_BUILD) && (defined(OS_LINUX) || defined(OS_WIN)) && defined(ARCH_CPU_64_BITS)))
#if !(defined(OS_MACOSX) || defined(OS_WIN) || (defined(CHROMIUM_MOZILLA_BUILD) && defined(OS_LINUX) && defined(ARCH_CPU_64_BITS)))
// There size_t is a synonym for |unsigned long| ...
template <>
struct ParamTraits<size_t> {
@ -252,7 +252,7 @@ struct ParamTraits<uint32> {
}
};
#endif // if !((defined(OS_LINUX) || defined(OS_WIN)) && defined(ARCH_CPU_64_BITS))
#endif // if !(defined(OS_LINUX) && defined(ARCH_CPU_64_BITS))
#if defined(OS_MACOSX)
// On Linux size_t & uint32 can be the same type.