Added tests for socklen_t

This commit is contained in:
Guido van Rossum 2000-04-24 15:12:04 +00:00
parent b33aa1a51e
commit 59903fe2b5
4 changed files with 257 additions and 217 deletions

View File

@ -84,6 +84,9 @@
/* sizeof(void *) */ /* sizeof(void *) */
#undef SIZEOF_VOID_P #undef SIZEOF_VOID_P
/* Define to `int' if <sys/types.h> doesn't define. */
#undef socklen_t
/* Define for SOLARIS 2.x */ /* Define for SOLARIS 2.x */
#undef SOLARIS #undef SOLARIS

View File

@ -149,6 +149,9 @@
/* Define to empty if the keyword does not work. */ /* Define to empty if the keyword does not work. */
#undef signed #undef signed
/* Define to `int' if <sys/types.h> doesn't define. */
#undef socklen_t
/* Define if you can safely include both <sys/select.h> and <sys/time.h> /* Define if you can safely include both <sys/select.h> and <sys/time.h>
(which you can't on SCO ODT 3.0). */ (which you can't on SCO ODT 3.0). */
#undef SYS_SELECT_WITH_SYS_TIME #undef SYS_SELECT_WITH_SYS_TIME

467
configure vendored

File diff suppressed because it is too large Load Diff

View File

@ -380,6 +380,7 @@ AC_TYPE_PID_T
AC_TYPE_SIGNAL AC_TYPE_SIGNAL
AC_TYPE_SIZE_T AC_TYPE_SIZE_T
AC_TYPE_UID_T AC_TYPE_UID_T
AC_CHECK_TYPE(socklen_t, int)
# Sizes of various common basic types # Sizes of various common basic types
AC_CHECK_SIZEOF(int) AC_CHECK_SIZEOF(int)