You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Rush Manbert (JIRA)" <ji...@apache.org> on 2009/08/05 18:30:14 UTC

[jira] Updated: (THRIFT-555) No macro definitions for htolell or letohll for PPC Mac OS X

     [ https://issues.apache.org/jira/browse/THRIFT-555?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rush Manbert updated THRIFT-555:
--------------------------------

    Attachment: Patch-Thrift-555.txt

Patch file.

> No macro definitions for htolell or letohll for PPC Mac OS X
> ------------------------------------------------------------
>
>                 Key: THRIFT-555
>                 URL: https://issues.apache.org/jira/browse/THRIFT-555
>             Project: Thrift
>          Issue Type: Bug
>          Components: Library (C++)
>    Affects Versions: 0.1
>         Environment: Mac OS X 10.5.7 PPC
>            Reporter: Rush Manbert
>         Attachments: Patch-Thrift-555.txt
>
>
> On a PPC Mac, you end up getting the definitions at line 114 of TProtocol.h, and the macros htolell and letohll are not defined.
> It looks like they should be defined as:
> #  define htolell(n) bswap_64(n)
> #  define letohll(n) bswap_64(n)
> just like they are at line 111.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.