cpython: cb7ca578a0c3 (original) (raw)
Mercurial > cpython
changeset 95557:cb7ca578a0c3
Issue #23668: Regenerates posixmodule.c.h for new ifdefs [#23668]
Steve Dower steve.dower@microsoft.com | |
---|---|
date | Sun, 12 Apr 2015 15:44:54 -0400 |
parents | 08adaaf08697 |
children | bf5a899a5d7c |
files | Modules/clinic/posixmodule.c.h |
diffstat | 1 files changed, 6 insertions(+), 6 deletions(-)[+] [-] Modules/clinic/posixmodule.c.h 12 |
line wrap: on
line diff
--- 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) / - -#if defined(HAVE_TRUNCATE) +#endif / (defined HAVE_FTRUNCATE || defined MS_WINDOWS) / + +#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]*/