aboutsummaryrefslogtreecommitdiff
path: root/src/common/mac/byteswap.h
Commit message (Collapse)AuthorAgeFilesLines
* Breakpad Mac Dumper: Fix compilation warnings on OS X 10.6jimblandy2010-05-051-0/+48
Breakpad's Macintosh symbol dumper uses deprecated functions for dealing with mixed-endianness code. This patch provides an overloaded function, ByteSwap, that automatically chooses the OSSwap* functions from <libkern/OSByteOrder.h> appropriate for its argument's size. This patch does *not* address warnings in src/common/mac/dump_syms.mm, because that code is about to be replaced entirely; there's no reason to bother reviewing a big, detailed patch against it. a=jimblandy, r=mark git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@589 4c0a9323-5329-0410-9bdc-e9ce6186880e