]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.12] gh-127906: Declare timeval struct in pytime.h on Windows (#127908)
authorVictor Stinner <vstinner@python.org>
Fri, 13 Dec 2024 12:13:49 +0000 (13:13 +0100)
committerGitHub <noreply@github.com>
Fri, 13 Dec 2024 12:13:49 +0000 (12:13 +0000)
commitc77bfd768f0d406f7fab42947dc06206111a3740
treea6c167d779e4624744f13ef9432bc3eb81a277a8
parentf3a689fd9d5c762d92e43a7e1fb3ee7bfb27c452
[3.12] gh-127906: Declare timeval struct in pytime.h on Windows (#127908)

gh-127906: Declare timeval struct in pytime.h on Windows

Fix the following MSVC compiler warning:

    include\cpython\pytime.h(192): warning C4115: 'timeval':
    named type definition in parentheses
Include/cpython/pytime.h