Uploaded image for project: 'Thrift'
  1. Thrift
  2. THRIFT-3415

include unistd.h conditionally

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.10.0
    • 0.10.0
    • C++ - Library
    • None
    • Patch Available

    Description

      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.

      Attachments

        1. unistd_include.patch
          0.4 kB
          Pascal Bach

        Activity

          People

            hcorg Konrad Grochowski
            pascal.bach Pascal Bach
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: