summaryrefslogtreecommitdiff
blob: da377bd5f3baa88e15e23a0c1ee62b2744d1261b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# patch to fix missing CLK_TCK in glibc 2.4

--- src/main.c.	2006-04-04 15:05:34.000000000 +0200
+++ src/main.c	2006-04-04 15:09:20.000000000 +0200
@@ -439,7 +439,7 @@
 	gettimer(TIMEOFDAY,&t);
 	return (t.tv_sec+t.tv_nsec/1000000000.0);
 #else
-	return ((double)(times(NULL)))/CLK_TCK;
+	return ((double)(times(NULL)))/CLOCKS_PER_SEC;
 #endif
 }