summaryrefslogtreecommitdiffstats
path: root/Modules/posixmodule.c
diff options
context:
space:
mode:
authorRoger E. Masse <rmasse@newcnri.cnri.reston.va.us>1997-06-05 22:07:58 (GMT)
committerRoger E. Masse <rmasse@newcnri.cnri.reston.va.us>1997-06-05 22:07:58 (GMT)
commit0318fd6050fb5914fdcc1fa88cce80251481d8cf (patch)
tree801bfb584f4b3254d047327bb12dfe9df48f41e6 /Modules/posixmodule.c
parent1830afb4daa087bf4bda4717b4e577d2d6f61e1d (diff)
downloadcpython-0318fd6050fb5914fdcc1fa88cce80251481d8cf.zip
cpython-0318fd6050fb5914fdcc1fa88cce80251481d8cf.tar.gz
cpython-0318fd6050fb5914fdcc1fa88cce80251481d8cf.tar.bz2
Moved the definition of posix_times__doc__ to outside of #ifdef HAVE_TIMES
so that MSVC 4.2 doesn't complain under NT.
Diffstat (limited to 'Modules/posixmodule.c')
-rw-r--r--Modules/posixmodule.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/Modules/posixmodule.c b/Modules/posixmodule.c
index 9019e0c..89f34eb 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