From 27fae56eb8392d1353d1795906cb1461ab212b27 Mon Sep 17 00:00:00 2001 From: Victor Stinner Date: Wed, 7 Jan 2026 13:01:08 +0100 Subject: [PATCH] gh-142991: Fix socketmodule.c build: remove _Py_FALLTHROUGH 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 4362d95ae1ff13..6df7401133a41b 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: