Kaydet (Commit) 1b66a4f0 authored tarafından Guido van Rossum's avatar Guido van Rossum

default CLOCKS_PER_SEC to CLK_TCK if it exists

üst b0824db5
......@@ -83,8 +83,12 @@ time_time(self, args)
#ifdef HAVE_CLOCK
#ifndef CLOCKS_PER_SEC
#ifdef CLK_TCK
#define CLOCKS_PER_SEC CLK_TCK
#else
#define CLOCKS_PER_SEC 1000000
#endif
#endif
static object *
time_clock(self, args)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment