Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
cpython
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
Batuhan Osman TASKAYA
cpython
Commits
c285e62d
Kaydet (Commit)
c285e62d
authored
May 25, 2006
tarafından
Tim Peters
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Repair idiot typo, and complete the job of trying to
use the Windows time.clock() implementation on Win64.
üst
4c803f1c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
timemodule.c
Modules/timemodule.c
+4
-4
No files found.
Modules/timemodule.c
Dosyayı görüntüle @
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