Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
c285e62d
Commit
c285e62d
authored
May 25, 2006
by
Tim Peters
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Repair idiot typo, and complete the job of trying to
use the Windows time.clock() implementation on Win64.
parent
4c803f1c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
Modules/timemodule.c
Modules/timemodule.c
+4
-4
No files found.
Modules/timemodule.c
View file @
c285e62d
...
...
@@ -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
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment