Fix HAVE_SOCKLEN_T macro redefinition for Windows builds

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Major - P3
    • 1.3.0-RC1, 1.3.0
    • Affects Version/s: 1.3.0-beta1
    • Component/s: None
    • None
    • Environment:
      Windows
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Caused by the following lines in config.w32, which were added in 0555447 for PHPC-892.

      if (CHECK_FUNC_IN_HEADER("ws2tcpip.h", "socklen_t")) {
        mongoc_opts.MONGOC_HAVE_SOCKLEN = 1;
      }
      

      This check apparently fails, but Windows does have "socklen_t" defined.

              Assignee:
              Jeremy Mikola
              Reporter:
              Jeremy Mikola
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: