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
f94374f6
Commit
f94374f6
authored
Dec 13, 2008
by
Martin v. Löwis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Issue #4368: Don't define _XOPEN_SOURCE on FreeBSD 4.*.
parent
17b9c977
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
20 deletions
+14
-20
Misc/NEWS
Misc/NEWS
+2
-0
configure
configure
+6
-10
configure.in
configure.in
+6
-10
No files found.
Misc/NEWS
View file @
f94374f6
...
@@ -260,6 +260,8 @@ Documentation
...
@@ -260,6 +260,8 @@ Documentation
Build
Build
-----
-----
-
Issue
#
4368
:
Don
't define _XOPEN_SOURCE on FreeBSD 4.*.
Windows
Windows
-------
-------
...
...
configure
View file @
f94374f6
...
@@ -2032,11 +2032,14 @@ _ACEOF
...
@@ -2032,11 +2032,14 @@ _ACEOF
# but used in struct sockaddr.sa_family. Reported by Tim Rice.
# but used in struct sockaddr.sa_family. Reported by Tim Rice.
SCO_SV/3.2
)
SCO_SV/3.2
)
define_xopen_source
=
no
;;
define_xopen_source
=
no
;;
# On FreeBSD 4
.8
and MacOS X 10.2, a bug in ncurses.h means that
# On FreeBSD 4 and MacOS X 10.2, a bug in ncurses.h means that
# it craps out if _XOPEN_EXTENDED_SOURCE is defined. Apparently,
# it craps out if _XOPEN_EXTENDED_SOURCE is defined. Apparently,
# this is fixed in 10.3, which identifies itself as Darwin/7.*
# this is fixed in 10.3, which identifies itself as Darwin/7.*
# This should hopefully be fixed in FreeBSD 4.9
# On Mac OS X 10.4, defining _POSIX_C_SOURCE or _XOPEN_SOURCE
FreeBSD/4.8
*
|
Darwin/6
*
)
# disables platform specific features beyond repair.
# On Mac OS X 10.3, defining _POSIX_C_SOURCE or _XOPEN_SOURCE
# has no effect, don't bother defining them
FreeBSD/4.
*
|
Darwin/[6789].
*
)
define_xopen_source
=
no
;;
define_xopen_source
=
no
;;
# On AIX 4 and 5.1, mbstate_t is defined only when _XOPEN_SOURCE == 500 but
# On AIX 4 and 5.1, mbstate_t is defined only when _XOPEN_SOURCE == 500 but
# used in wcsnrtombs() and mbsnrtowcs() even if _XOPEN_SOURCE is not defined
# used in wcsnrtombs() and mbsnrtowcs() even if _XOPEN_SOURCE is not defined
...
@@ -2048,13 +2051,6 @@ _ACEOF
...
@@ -2048,13 +2051,6 @@ _ACEOF
define_xopen_source
=
no
define_xopen_source
=
no
fi
fi
;;
;;
# On Mac OS X 10.4, defining _POSIX_C_SOURCE or _XOPEN_SOURCE
# disables platform specific features beyond repair.
# On Mac OS X 10.3, defining _POSIX_C_SOURCE or _XOPEN_SOURCE
# has no effect, don't bother defining them
Darwin/[789].
*
)
define_xopen_source
=
no
;;
esac
esac
...
...
configure.in
View file @
f94374f6
...
@@ -226,11 +226,14 @@ case $ac_sys_system/$ac_sys_release in
...
@@ -226,11 +226,14 @@ case $ac_sys_system/$ac_sys_release in
# but used in struct sockaddr.sa_family. Reported by Tim Rice.
# but used in struct sockaddr.sa_family. Reported by Tim Rice.
SCO_SV/3.2)
SCO_SV/3.2)
define_xopen_source=no;;
define_xopen_source=no;;
# On FreeBSD 4
.8
and MacOS X 10.2, a bug in ncurses.h means that
# On FreeBSD 4 and MacOS X 10.2, a bug in ncurses.h means that
# it craps out if _XOPEN_EXTENDED_SOURCE is defined. Apparently,
# it craps out if _XOPEN_EXTENDED_SOURCE is defined. Apparently,
# this is fixed in 10.3, which identifies itself as Darwin/7.*
# this is fixed in 10.3, which identifies itself as Darwin/7.*
# This should hopefully be fixed in FreeBSD 4.9
# On Mac OS X 10.4, defining _POSIX_C_SOURCE or _XOPEN_SOURCE
FreeBSD/4.8* | Darwin/6* )
# disables platform specific features beyond repair.
# On Mac OS X 10.3, defining _POSIX_C_SOURCE or _XOPEN_SOURCE
# has no effect, don't bother defining them
FreeBSD/4.* | Darwin/@<:@6789@:>@.*)
define_xopen_source=no;;
define_xopen_source=no;;
# On AIX 4 and 5.1, mbstate_t is defined only when _XOPEN_SOURCE == 500 but
# On AIX 4 and 5.1, mbstate_t is defined only when _XOPEN_SOURCE == 500 but
# used in wcsnrtombs() and mbsnrtowcs() even if _XOPEN_SOURCE is not defined
# used in wcsnrtombs() and mbsnrtowcs() even if _XOPEN_SOURCE is not defined
...
@@ -242,13 +245,6 @@ case $ac_sys_system/$ac_sys_release in
...
@@ -242,13 +245,6 @@ case $ac_sys_system/$ac_sys_release in
define_xopen_source=no
define_xopen_source=no
fi
fi
;;
;;
# On Mac OS X 10.4, defining _POSIX_C_SOURCE or _XOPEN_SOURCE
# disables platform specific features beyond repair.
# On Mac OS X 10.3, defining _POSIX_C_SOURCE or _XOPEN_SOURCE
# has no effect, don't bother defining them
Darwin/@<:@789@:>@.*)
define_xopen_source=no
;;
esac
esac
...
...
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