bornintelligent / google-breakpad

Automatically exported from code.google.com/p/google-breakpad
0 stars 0 forks source link

Build fails against the 10.3.9 sdk. #152

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
This patch let me build the exception handling bits against the 10.3.9sdk.

Changes:
* uuid_command doesn't exist - just changed MachoID::UUIDCommand() to
return false.
* some #defines don't exist, defined those in mac_compat.h
* the 64-bit swap routines don't exist.  They're trivial, implemented them
in mac_compat.cc if using an old sdk.
* The 10.3.9 SDK defines thread_state_data_t as an int[] instead of the
natural_t[] it should be;  this is fixed in the 10.4u sdk.  mac_compat.h
defines a breakpad_thread_state_data_t type to smooth that over.

Original issue reported on code.google.com by dave.c...@gmail.com on 23 Apr 2007 at 11:44

Attachments:

GoogleCodeExporter commented 9 years ago
So these functions aren't even available on all 10.4s;  this version of the 
patch
implements the functions on all sdk versions, and renames them to prevent 
conflicts.
 It also pulls in the uuid command rather than disabling that code.

It also renames mac_compat.[h,cc] to macho_utilities.[h,cc].

Original comment by dave.c...@gmail.com on 27 Apr 2007 at 9:19

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by mmento...@gmail.com on 1 May 2007 at 9:49

GoogleCodeExporter commented 9 years ago

Original comment by ted.mielczarek on 3 May 2007 at 8:13