mirror of
https://github.com/AdaCore/cpython.git
synced 2026-02-12 12:57:15 -08:00
Define _BSD_TYPES. Fixes #1005308.
This commit is contained in:
@@ -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
10
configure
vendored
@@ -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.
|
||||
|
||||
@@ -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.
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user