From 43e495d6f4e0efe6e7a54625d559f2f656f36916 Mon Sep 17 00:00:00 2001 From: Victor Stinner Date: Wed, 7 Jan 2026 15:17:06 +0100 Subject: [PATCH] [3.13] gh-142991: Fix socketmodule.c build: remove _Py_FALLTHROUGH (#143514) Fix commit 7f936694dbc0dc0dbb07d98fa668776c4e4ca595 backport which uses _Py_FALLTHROUGH: this macro only exists in Python 3.14 and newer. --- Modules/socketmodule.c | 1 - 1 file changed, 1 deletion(-) diff --git a/Modules/socketmodule.c b/Modules/socketmodule.c index 4362d95ae1ff..6df7401133a4 100644 --- a/Modules/socketmodule.c +++ b/Modules/socketmodule.c @@ -2652,7 +2652,6 @@ getsockaddrlen(PySocketSockObject *s, socklen_t *len_ret) #ifdef AF_DIVERT case AF_DIVERT: /* FreeBSD divert(4) sockets use sockaddr_in: fall-through */ - _Py_FALLTHROUGH; #endif /* AF_DIVERT */ case AF_INET: -- 2.47.3