Define _BSD_TYPES. Fixes #1005308.

This commit is contained in:
Martin v. Löwis
2004-08-12 13:44:45 +00:00
parent ea64250f15
commit 0052fcdbba
4 changed files with 18 additions and 1 deletions

View File

@@ -28,6 +28,8 @@ Core and builtins
Extension modules
-----------------
- Bug #1005308: Define _BSD_TYPES.
- Patch #1005568: Use _SC_PAGESIZE on Irix in resourcemoudle.
- Patch #924294: Do no check for AF_INET6 if it is not defined.

10
configure vendored
View File

@@ -1,5 +1,5 @@
#! /bin/sh
# From configure.in Revision: 1.427.4.12 .
# From configure.in Revision: 1.427.4.13 .
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.57 for python 2.3.
#
@@ -1349,6 +1349,14 @@ cat >>confdefs.h <<\_ACEOF
_ACEOF
# The later defininition of _XOPEN_SOURCE and _POSIX_C_SOURCE disables
# u_int on Irix 5.3. Defining _BSD_TYPES brings it back.
cat >>confdefs.h <<\_ACEOF
#define _BSD_TYPES 1
_ACEOF
define_xopen_source=yes
# Arguments passed to configure.

View File

@@ -50,6 +50,10 @@ AC_DEFINE(_NETBSD_SOURCE, 1, [Define on NetBSD to activate all library features]
# them.
AC_DEFINE(__BSD_VISIBLE, 1, [Define on FreeBSD to activate all library features])
# The later defininition of _XOPEN_SOURCE and _POSIX_C_SOURCE disables
# u_int on Irix 5.3. Defining _BSD_TYPES brings it back.
AC_DEFINE(_BSD_TYPES, 1, [Define on Irix to enable u_int])
define_xopen_source=yes
# Arguments passed to configure.

View File

@@ -823,6 +823,9 @@
# undef _ALL_SOURCE
#endif
/* Define on Irix to enable u_int */
#undef _BSD_TYPES
/* This must be set to 64 on some systems to enable large file support. */
#undef _FILE_OFFSET_BITS