[
https://issues.apache.org/jira/browse/THRIFT-2474?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Roger Meier resolved THRIFT-2474.
---------------------------------
Resolution: Fixed
I did this:
{noformat}
wget https://github.com/apache/thrift/pull/482.patch
git am 482.patch
git push origin master
{noformat}
and of course review and testing;-)
it's easy and fast, does it close the PR?
cheers
roger
> thrift.h causes a compile failure
> ---------------------------------
>
> Key: THRIFT-2474
> URL: https://issues.apache.org/jira/browse/THRIFT-2474
> Project: Thrift
> Issue Type: Bug
> Components: C++ - Library
> Affects Versions: 0.9.1
> Reporter: Vitali Lovich
> Assignee: James E. King, III
> Priority: Minor
>
> ntohll & htonll are incorrectly assumed to be undefined if not glibc/MSVC.
> Instead they should be protected by ifndef in case the platform provides them.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)