[
https://issues.apache.org/jira/browse/THRIFT-2474?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14529921#comment-14529921
]
James E. King, III commented on THRIFT-2474:
--------------------------------------------
The issue appears to have moved since this was filed, and now in TProtocol.h
instead.
> 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
>
> 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)