Konrad Grochowski created THRIFT-2038:
-----------------------------------------

             Summary: THRIFT_INVALID_SOCKET added to PlatformSocket.h
                 Key: THRIFT-2038
                 URL: https://issues.apache.org/jira/browse/THRIFT-2038
             Project: Thrift
          Issue Type: Improvement
          Components: C++ - Library
            Reporter: Konrad Grochowski
         Attachments: THRIFT-2038-invalid-socket.patch

using -1 to mark "invalid socket" causes a lot of warnings on Windows.

I've added THRIFT_INVALID_SOCKET define to INVALID_SOCKET in PlatformSocket on 
Windows, and to -1 on other systems.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to