You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Konrad Grochowski (JIRA)" <ji...@apache.org> on 2015/11/12 15:45:10 UTC
[jira] [Assigned] (THRIFT-3415) include unistd.h conditionally
[ https://issues.apache.org/jira/browse/THRIFT-3415?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Konrad Grochowski reassigned THRIFT-3415:
-----------------------------------------
Assignee: Konrad Grochowski
> include unistd.h conditionally
> ------------------------------
>
> Key: THRIFT-3415
> URL: https://issues.apache.org/jira/browse/THRIFT-3415
> Project: Thrift
> Issue Type: Bug
> Components: C++ - Library
> Affects Versions: 0.9.4
> Reporter: Pascal Bach
> Assignee: Konrad Grochowski
> Attachments: unistd_include.patch
>
>
> THeaderTransport.h includes unistd.h unconidionaly.
> This breaks on non posix systems.
> The solution is to include it only when the corresponding define is set, like it is done in the rest of the codebase.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)