[reSIProcate] [resiprocate] Fix for signed types on iOS/MacOS (#34)
Jason Vasquez
notifications at github.com
Wed Oct 28 19:55:04 CDT 2015
On iOS/MacOS (at least with current SDKs), `MacTypes.h` does declare `UInt8`/`UInt16`/etc for unsigned types. But, for signed types, `MacTypes.h` defines them as `SInt8`/etc, rather than the `Int8` that the rest of the codebase expects. This simply adds some typedefs for the signed types.
(Also, there was a minor error in the same block with a comment that accidentally was prefixed with `#`, so the preprocessor was attempting to pick it up)
You can view, comment on, or merge this pull request online at:
https://github.com/resiprocate/resiprocate/pull/34
-- Commit Summary --
* Updated comment to not use a `#` prefix
* Included typedef's for signed integral types on darwin
-- File Changes --
M rutil/compat.hxx (5)
-- Patch Links --
https://github.com/resiprocate/resiprocate/pull/34.patch
https://github.com/resiprocate/resiprocate/pull/34.diff
---
Reply to this email directly or view it on GitHub:
https://github.com/resiprocate/resiprocate/pull/34
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.resiprocate.org/pipermail/resiprocate-devel/attachments/20151028/0ba4bb41/attachment.htm>
More information about the resiprocate-devel
mailing list