From: Steve Dower Date: Sun, 12 Apr 2015 19:44:54 +0000 (-0400) Subject: Issue #23668: Regenerates posixmodule.c.h for new ifdefs X-Git-Tag: v3.5.0a4~101 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f7377036716066ee5c5631afdb57b32934daf9ae;p=python Issue #23668: Regenerates posixmodule.c.h for new ifdefs --- diff --git a/Modules/clinic/posixmodule.c.h b/Modules/clinic/posixmodule.c.h index f94fec9526..3f337090b1 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]*/