[Date Prev][Date Next] [Chronological] [Thread] [Top]

Configure check for winsock is broken (ITS#2918)

Full_Name: Matthew Hardin
Version: 2.2.4
OS: Windows NT
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (

Beginning at line 896, configure uses code that is syntactially incorrect for
current gcc compilers in the mingw environment. Specifically, the functions for
socket, select, closesocket, and gethostname are prototyped and called using "@"
notation, which is not valid syntax (it apparently was at one time). 

The correct way to do this is to include winsock.h instead of prototyping the
functions and then call the functions, including the correct number of
parameters for each.

A fix is on the way.