8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-22 18:43:02 +01:00

Moved the definition of socklen_t to autoconfig.h. It's used in inet.ccp and

server.cpp.
This commit is contained in:
eku 2003-11-20 08:13:30 +00:00
parent cb4eb29202
commit 4a38dfd307
2 changed files with 5 additions and 6 deletions

View File

@ -1,4 +1,4 @@
dnl $Id: configure.in,v 1.184 2003-11-18 03:11:54 brodsom Exp $
dnl $Id: configure.in,v 1.185 2003-11-20 08:13:30 eku Exp $
dnl ############################# INITIALISATION ###############################
@ -443,6 +443,9 @@ fi
AC_CHECK_SIZEOF(void*)
AC_CHECK_SIZEOF(long)
AC_CHECK_TYPES([socklen_t],,,[#include <sys/socket.h>])
AH_BOTTOM([#ifndef HAVE_SOCKLEN_T
typedef int socklen_t;
#endif])
AC_CHECK_TYPES([semun])
if test "$ac_cv_type_semun" = "no"; then
AC_MSG_CHECKING(if sem.h defines semun)

View File

@ -41,7 +41,7 @@
*
*/
/*
$Id: inet.cpp,v 1.88 2003-11-16 12:52:36 brodsom Exp $
$Id: inet.cpp,v 1.89 2003-11-20 08:13:25 eku Exp $
*/
#include "firebird.h"
#include "../jrd/ib_stdio.h"
@ -159,10 +159,6 @@ extern int h_errno;
#endif /* WIN_NT */
#ifndef HAVE_SOCKLEN_T
typedef int socklen_t;
#endif
#ifdef SYSV_SIGNALS
#define NO_ITIMER
#endif