]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-91782: Define static_assert() macro on FreeBSD (#91787)
authorVictor Stinner <vstinner@python.org>
Thu, 21 Apr 2022 14:40:34 +0000 (16:40 +0200)
committerGitHub <noreply@github.com>
Thu, 21 Apr 2022 14:40:34 +0000 (16:40 +0200)
commit1b184c84082530f35c593cb7728752e258371c30
treeb8608f7aaa90615e33077639dfe092c8fcbfc229
parent1a2b282f201073d5153e737568c833af6f1b349e
gh-91782: Define static_assert() macro on FreeBSD (#91787)

On FreeBSD, if the static_assert() macro is not defined, define it in
Python until <sys/cdefs.h> supports C11:
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=255290
Include/pymacro.h