[Xapian-tickets] [Xapian] #821: SOCKLEN_T not defined when compiling with mingw32.

Xapian nobody at xapian.org
Wed Apr 26 14:18:30 BST 2023


#821: SOCKLEN_T not defined when compiling with mingw32.
---------------------------------+------------------------
        Reporter:  mgautier      |      Owner:  Olly Betts
            Type:  defect        |     Status:  new
        Priority:  normal        |  Milestone:
       Component:  Build system  |    Version:  1.4.22
        Severity:  normal        |   Keywords:
      Blocked By:                |   Blocking:
Operating System:  Linux         |
---------------------------------+------------------------
 Cross compilation of xapian fails when cross-compiling from linux to
 windows using mingw32.

 To provided patch fix the compilation.
 Another way to fix it is to replace `SOCKLEN_T` with `int` as it is how it
 is
 defined in `ws2tcpip.h`
-- 
Ticket URL: <https://trac.xapian.org/ticket/821>
Xapian <https://xapian.org/>
Xapian


More information about the Xapian-tickets mailing list