mirror of
https://github.com/python/cpython.git
synced 2025-11-01 18:51:43 +00:00
Issue #12517: Silence warning on windows buildbots (from 7fd80c61ddaa).
This commit is contained in:
parent
ddd2d70cc6
commit
b1e5d595af
1 changed files with 3 additions and 0 deletions
|
|
@ -375,6 +375,8 @@ static int win32_can_symlink = 0;
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/* A helper used by a number of POSIX-only functions */
|
||||||
|
#ifndef MS_WINDOWS
|
||||||
static int
|
static int
|
||||||
_parse_off_t(PyObject* arg, void* addr)
|
_parse_off_t(PyObject* arg, void* addr)
|
||||||
{
|
{
|
||||||
|
|
@ -387,6 +389,7 @@ _parse_off_t(PyObject* arg, void* addr)
|
||||||
return 0;
|
return 0;
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
#if defined _MSC_VER && _MSC_VER >= 1400
|
#if defined _MSC_VER && _MSC_VER >= 1400
|
||||||
/* Microsoft CRT in VS2005 and higher will verify that a filehandle is
|
/* Microsoft CRT in VS2005 and higher will verify that a filehandle is
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue