mirror of
https://github.com/python/cpython
synced 2026-09-29 11:35:29 +03:00
Issue #10910: Update FreedBSD version checks for the ctype UTF-8 workaround.
The original problem has been fixed in newer versions of FreeBSD. Patch by Dimitry Andric of the FreeBSD project.
This commit is contained in:
parent
7659aab5e9
commit
3d4559936a
2 changed files with 7 additions and 1 deletions
|
|
@ -677,7 +677,9 @@ extern pid_t forkpty(int *, char *, struct termios *, struct winsize *);
|
|||
|
||||
#ifdef __FreeBSD__
|
||||
#include <osreldate.h>
|
||||
#if __FreeBSD_version > 500039
|
||||
#if (__FreeBSD_version >= 500040 && __FreeBSD_version < 602113) || \
|
||||
(__FreeBSD_version >= 700000 && __FreeBSD_version < 700054) || \
|
||||
(__FreeBSD_version >= 800000 && __FreeBSD_version < 800001)
|
||||
# define _PY_PORT_CTYPE_UTF8_ISSUE
|
||||
#endif
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue