]> granicus.if.org Git - python/commitdiff
Moved the definition of posix_times__doc__ to outside of #ifdef HAVE_TIMES
authorRoger E. Masse <rmasse@newcnri.cnri.reston.va.us>
Thu, 5 Jun 1997 22:07:58 +0000 (22:07 +0000)
committerRoger E. Masse <rmasse@newcnri.cnri.reston.va.us>
Thu, 5 Jun 1997 22:07:58 +0000 (22:07 +0000)
so that MSVC 4.2 doesn't complain under NT.

Modules/posixmodule.c

index 9019e0c614fec61a6dfd6871c3a6a46736f48c6d..89f34eb849040692e5e2b2f39999a0fe2d309084 100644 (file)
@@ -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