mirror of
https://github.com/python/cpython.git
synced 2026-01-08 08:22:41 +00:00
[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
This commit is contained in:
parent
f3a689fd9d
commit
c77bfd768f
1 changed files with 1 additions and 1 deletions
|
|
@ -53,7 +53,7 @@ functions and constants
|
|||
extern "C" {
|
||||
#endif
|
||||
|
||||
#ifdef __clang__
|
||||
#if defined(__clang__) || defined(_MSC_VER)
|
||||
struct timeval;
|
||||
#endif
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue