Uploaded image for project: 'Thrift'
  1. Thrift
  2. THRIFT-555

No macro definitions for htolell or letohll for PPC Mac OS X

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.1
    • 0.2
    • C++ - Library
    • None
    • Mac OS X 10.5.7 PPC

    • Patch Available

    Description

      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:

      1. define htolell bswap_64
      2. define letohll bswap_64

      just like they are at line 111.

      Attachments

        1. Patch-Thrift-555.txt
          0.6 kB
          Rush Manbert

        Activity

          People

            rush Rush Manbert
            rush Rush Manbert
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: