diff --git a/src/timer.c b/src/timer.c index a0fa7ea..daf4ad3 100644 --- a/src/timer.c +++ b/src/timer.c @@ -25,7 +25,7 @@ set_time_limit (int seconds) { time_max_seconds = seconds; #ifdef linux - endwait = seconds * CLK_TCK; + endwait = seconds * CLOCKS_PER_SEC; #endif } else