Allow Breakpad processor library to build on Solaris with the native Sun

toolchain (#142).  Patch by Alfred Peng.  r=me.


git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@213 4c0a9323-5329-0410-9bdc-e9ce6186880e
This commit is contained in:
mmentovai
2007-09-26 18:08:41 +00:00
parent 7e2b64f5fd
commit 0e6f5c95d7
8 changed files with 44 additions and 4 deletions

View File

@@ -106,7 +106,7 @@ static inline void Swap(u_int32_t* value) {
}
static void Swap(u_int64_t* value) {
static inline void Swap(u_int64_t* value) {
u_int32_t* value32 = reinterpret_cast<u_int32_t*>(value);
Swap(&value32[0]);
Swap(&value32[1]);