diff options
author | Tim Peters <tim.peters@gmail.com> | 2006-05-25 22:25:25 (GMT) |
---|---|---|
committer | Tim Peters <tim.peters@gmail.com> | 2006-05-25 22:25:25 (GMT) |
commit | c285e62d76248950c33152cebe5eebc50c33b951 (patch) | |
tree | a6103bef1202bce516d0a7fce761d8ef0e1e15a3 /Modules/timemodule.c | |
parent | 4c803f1c8147e21f3f5b09a522411823f3a9875e (diff) | |
download | cpython-c285e62d76248950c33152cebe5eebc50c33b951.zip cpython-c285e62d76248950c33152cebe5eebc50c33b951.tar.gz cpython-c285e62d76248950c33152cebe5eebc50c33b951.tar.bz2 |
Repair idiot typo, and complete the job of trying to
use the Windows time.clock() implementation on Win64.
Diffstat (limited to 'Modules/timemodule.c')
-rw-r--r-- | Modules/timemodule.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Modules/timemodule.c b/Modules/timemodule.c index eb9f4d0..e03b7e1 100644 --- a/Modules/timemodule.c +++ b/Modules/timemodule.c @@ -64,8 +64,8 @@ static long main_thread; #endif /* !__WATCOMC__ || __QNX__ */ #if defined(MS_WINDOWS) && !defined(__BORLANDC__) -/* Win32 has better clock replacement -#undef HAVE_CLOCK /* We have our own version down below */ +/* Win32 has better clock replacement; we have our own version below. */ +#undef HAVE_CLOCK #endif /* MS_WINDOWS && !defined(__BORLANDC__) */ #if defined(PYOS_OS2) @@ -161,7 +161,7 @@ time_clock(PyObject *self, PyObject *args) } #endif /* HAVE_CLOCK */ -#if defined(MS_WINDOWS) && !defined(MS_WIN64) && !defined(__BORLANDC__) +#if defined(MS_WINDOWS) && !defined(__BORLANDC__) /* Due to Mark Hammond and Tim Peters */ static PyObject * time_clock(PyObject *self, PyObject *args) @@ -190,7 +190,7 @@ time_clock(PyObject *self, PyObject *args) } #define HAVE_CLOCK /* So it gets included in the methods */ -#endif /* MS_WINDOWS && !MS_WIN64 */ +#endif /* MS_WINDOWS && !defined(__BORLANDC__) */ #ifdef HAVE_CLOCK PyDoc_STRVAR(clock_doc, |