summaryrefslogtreecommitdiff
path: root/Include/pyport.h
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2018-01-22 18:32:50 +0100
committerGitHub <noreply@github.com>2018-01-22 18:32:50 +0100
commit13ff24582c99dfb439b1af7295b401415e7eb05b (patch)
tree6966d9e1247134dfee9db73b6b5a215bfa88baf4 /Include/pyport.h
parentb0a7a037b8fde56b62f886d5188bced7776777b4 (diff)
downloadcpython-git-13ff24582c99dfb439b1af7295b401415e7eb05b.tar.gz
bpo-32593: Drop FreeBSD 9 and older support (#5232)
Drop support of FreeBSD 9 and older.
Diffstat (limited to 'Include/pyport.h')
-rw-r--r--Include/pyport.h12
1 files changed, 1 insertions, 11 deletions
diff --git a/Include/pyport.h b/Include/pyport.h
index f2e247a374..c1f4c7fbb5 100644
--- a/Include/pyport.h
+++ b/Include/pyport.h
@@ -564,18 +564,8 @@ extern char * _getpty(int *, int, mode_t, int);
* workaround was provided by Tim Robbins of FreeBSD project.
*/
-#ifdef __FreeBSD__
-#include <osreldate.h>
-#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
-
-
#if defined(__APPLE__)
-# define _PY_PORT_CTYPE_UTF8_ISSUE
+# define _PY_PORT_CTYPE_UTF8_ISSUE
#endif
#ifdef _PY_PORT_CTYPE_UTF8_ISSUE