Issue #12517: Silence warning on windows buildbots (from 7fd80c61ddaa).
diff --git a/Modules/posixmodule.c b/Modules/posixmodule.c
index 355e01f..2fc509d 100644
--- a/Modules/posixmodule.c
+++ b/Modules/posixmodule.c
@@ -375,6 +375,8 @@
#endif
#endif
+/* A helper used by a number of POSIX-only functions */
+#ifndef MS_WINDOWS
static int
_parse_off_t(PyObject* arg, void* addr)
{
@@ -387,6 +389,7 @@
return 0;
return 1;
}
+#endif
#if defined _MSC_VER && _MSC_VER >= 1400
/* Microsoft CRT in VS2005 and higher will verify that a filehandle is