Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
858c8096
Commit
858c8096
authored
Jul 31, 2007
by
Martin v. Löwis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Define _BSD_SOURCE, to get access to POSIX extensions on OpenBSD 4.1+.
parent
b4d100cf
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
18 additions
and
1 deletion
+18
-1
Misc/NEWS
Misc/NEWS
+2
-0
configure
configure
+9
-1
configure.in
configure.in
+4
-0
pyconfig.h.in
pyconfig.h.in
+3
-0
No files found.
Misc/NEWS
View file @
858c8096
...
...
@@ -101,6 +101,8 @@ Documentation
Build
-----
-
Define
_BSD_SOURCE
,
to
get
access
to
POSIX
extensions
on
OpenBSD
4.1
+.
-
Patch
#
1673122
:
Use
an
explicit
path
to
libtool
when
building
a
framework
.
This
avoids
picking
up
GNU
libtool
from
a
users
PATH
.
...
...
configure
View file @
858c8096
#! /bin/sh
# From configure.in Revision: 5
284
4 .
# From configure.in Revision: 5
428
4 .
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.59 for python 2.5.
#
...
...
@@ -1388,6 +1388,14 @@ cat >>confdefs.h <<\_ACEOF
_ACEOF
# OpenBSD undoes our definition of __BSD_VISIBLE if _XOPEN_SOURCE is
# also defined. This can be overridden by defining _BSD_SOURCE
cat
>>
confdefs.h
<<
\
_ACEOF
#define _BSD_SOURCE 1
_ACEOF
# The later defininition of _XOPEN_SOURCE and _POSIX_C_SOURCE disables
# u_int on Irix 5.3. Defining _BSD_TYPES brings it back.
...
...
configure.in
View file @
858c8096
...
...
@@ -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])
# OpenBSD undoes our definition of __BSD_VISIBLE if _XOPEN_SOURCE is
# also defined. This can be overridden by defining _BSD_SOURCE
AC_DEFINE(_BSD_SOURCE, 1, [Define on OpenBSD 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])
...
...
pyconfig.h.in
View file @
858c8096
...
...
@@ -909,6 +909,9 @@
# undef _ALL_SOURCE
#endif
/* Define on OpenBSD to activate all library features */
#undef _BSD_SOURCE
/* Define on Irix to enable u_int */
#undef _BSD_TYPES
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment