summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorFurkan Onder <furkanonder@protonmail.com>2024-12-28 18:49:45 (GMT)
committerGitHub <noreply@github.com>2024-12-28 18:49:45 (GMT)
commit492b224b991cd9027f1bc6d9988d01e94f764992 (patch)
tree4aca7e16365e6f10563ebfc9e73e0688f57cea69 /configure.ac
parent2cf396c368a188e9142843e566ce6d8e6eb08999 (diff)
downloadcpython-492b224b991cd9027f1bc6d9988d01e94f764992.zip
cpython-492b224b991cd9027f1bc6d9988d01e94f764992.tar.gz
cpython-492b224b991cd9027f1bc6d9988d01e94f764992.tar.bz2
gh-128279: Enhance the NetBSD compatibility for thread naming (#128280)
Enhance NetBSD compatibility for thread naming in _threadmodule.c.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index ebc1550..badb19d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -7514,6 +7514,7 @@ _RESTORE_VAR([CPPFLAGS])
case "$ac_sys_system" in
Linux*) PYTHREAD_NAME_MAXLEN=15;; # Linux and Android
SunOS*) PYTHREAD_NAME_MAXLEN=31;;
+ NetBSD*) PYTHREAD_NAME_MAXLEN=31;;
Darwin) PYTHREAD_NAME_MAXLEN=63;;
iOS) PYTHREAD_NAME_MAXLEN=63;;
FreeBSD*) PYTHREAD_NAME_MAXLEN=98;;