aboutsummaryrefslogtreecommitdiff
path: root/src/google_airbag
diff options
context:
space:
mode:
authorbryner <bryner@4c0a9323-5329-0410-9bdc-e9ce6186880e>2007-02-07 04:24:03 +0000
committerbryner <bryner@4c0a9323-5329-0410-9bdc-e9ce6186880e>2007-02-07 04:24:03 +0000
commit1d78cad82e3c7aa2315ed7438211a1901a91ed34 (patch)
treeaa21fb577840b6e3ed90289939347e2b2ee52372 /src/google_airbag
parent- Fixes the bug with a fork()'d child's exception being caught in the parent ... (diff)
downloadbreakpad-1d78cad82e3c7aa2315ed7438211a1901a91ed34.tar.xz
Store 128-bit values as a struct with high and low fields, so that consumers
of airbag don't have to know the platform endianness. git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@118 4c0a9323-5329-0410-9bdc-e9ce6186880e
Diffstat (limited to 'src/google_airbag')
-rw-r--r--src/google_airbag/common/airbag_types.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/google_airbag/common/airbag_types.h b/src/google_airbag/common/airbag_types.h
index 917d6e61..240e7f08 100644
--- a/src/google_airbag/common/airbag_types.h
+++ b/src/google_airbag/common/airbag_types.h
@@ -56,7 +56,8 @@ typedef unsigned __int64 u_int64_t;
#endif /* !_WIN32 */
typedef struct {
- u_int64_t half[2];
+ u_int64_t high;
+ u_int64_t low;
} u_int128_t;
typedef u_int64_t airbag_time_t;