From: Roger E. Masse Date: Thu, 5 Jun 1997 22:07:58 +0000 (+0000) Subject: Moved the definition of posix_times__doc__ to outside of #ifdef HAVE_TIMES X-Git-Tag: v1.5a3~353 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0318fd6050fb5914fdcc1fa88cce80251481d8cf;p=python Moved the definition of posix_times__doc__ to outside of #ifdef HAVE_TIMES so that MSVC 4.2 doesn't complain under NT. --- diff --git a/Modules/posixmodule.c b/Modules/posixmodule.c index 9019e0c614..89f34eb849 100644 --- a/Modules/posixmodule.c +++ b/Modules/posixmodule.c @@ -1459,9 +1459,6 @@ posix_symlink(self, args) #ifndef HZ #define HZ 60 /* Universal constant :-) */ #endif /* HZ */ -static char posix_times__doc__[] = -"times() -> (utime, stime, cutime, cstime, elapsed_time)\n\ -Return a tuple of floating point numbers indicating process times."; static PyObject * posix_times(self, args) @@ -1506,6 +1503,9 @@ posix_times(self, args) (double)0); } #endif /* MS_WIN32 */ +static char posix_times__doc__[] = +"times() -> (utime, stime, cutime, cstime, elapsed_time)\n\ +Return a tuple of floating point numbers indicating process times."; #ifdef HAVE_SETSID