Pascal Bach created THRIFT-3415:
-----------------------------------

             Summary: include unistd.h conditionaly
                 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


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)

Reply via email to