summaryrefslogtreecommitdiffstats
path: root/Modules/clinic
diff options
context:
space:
mode:
authorSteve Dower <steve.dower@microsoft.com>2015-04-12 19:44:54 (GMT)
committerSteve Dower <steve.dower@microsoft.com>2015-04-12 19:44:54 (GMT)
commitf7377036716066ee5c5631afdb57b32934daf9ae (patch)
tree1b876857a67a3cfeb9f3f6f4f3ad41189ceebe5a /Modules/clinic
parent556e08e9b2016121e0984039c7087f52ba064297 (diff)
downloadcpython-f7377036716066ee5c5631afdb57b32934daf9ae.zip
cpython-f7377036716066ee5c5631afdb57b32934daf9ae.tar.gz
cpython-f7377036716066ee5c5631afdb57b32934daf9ae.tar.bz2
Issue #23668: Regenerates posixmodule.c.h for new ifdefs
Diffstat (limited to 'Modules/clinic')
-rw-r--r--Modules/clinic/posixmodule.c.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/Modules/clinic/posixmodule.c.h b/Modules/clinic/posixmodule.c.h
index f94fec9..3f33709 100644
--- a/Modules/clinic/posixmodule.c.h
+++ b/Modules/clinic/posixmodule.c.h
@@ -3989,7 +3989,7 @@ exit:
#endif /* defined(HAVE_DEVICE_MACROS) */
-#if defined(HAVE_FTRUNCATE)
+#if (defined HAVE_FTRUNCATE || defined MS_WINDOWS)
PyDoc_STRVAR(os_ftruncate__doc__,
"ftruncate($module, fd, length, /)\n"
@@ -4020,9 +4020,9 @@ exit:
return return_value;
}
-#endif /* defined(HAVE_FTRUNCATE) */
+#endif /* (defined HAVE_FTRUNCATE || defined MS_WINDOWS) */
-#if defined(HAVE_TRUNCATE)
+#if (defined HAVE_TRUNCATE || defined MS_WINDOWS)
PyDoc_STRVAR(os_truncate__doc__,
"truncate($module, /, path, length)\n"
@@ -4060,7 +4060,7 @@ exit:
return return_value;
}
-#endif /* defined(HAVE_TRUNCATE) */
+#endif /* (defined HAVE_TRUNCATE || defined MS_WINDOWS) */
#if (defined(HAVE_POSIX_FALLOCATE) && !defined(POSIX_FADVISE_AIX_BUG))
@@ -5847,4 +5847,4 @@ exit:
#ifndef OS_SET_HANDLE_INHERITABLE_METHODDEF
#define OS_SET_HANDLE_INHERITABLE_METHODDEF
#endif /* !defined(OS_SET_HANDLE_INHERITABLE_METHODDEF) */
-/*[clinic end generated code: output=b15ceac3a8ff0eae input=a9049054013a1b77]*/
+/*[clinic end generated code: output=22f405f79f87ba20 input=a9049054013a1b77]*/