[ https://issues.apache.org/jira/browse/THRIFT-2474?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14537016#comment-14537016 ]
Nobuaki Sukegawa commented on THRIFT-2474: ------------------------------------------ You need to {{git commit --amend}} and append "This closes #482" for the automatic close. Can be done by multi-line string: {code} $ git am 482.patch $ git commit --amend -m "$(git log -1 --format=%B) This closes #482" $ git log -1 {code} > 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 > Fix For: 0.9.3 > > > 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)