diff --git a/src/misc/misc_time.c b/src/misc/misc_time.c index 9df4367ce..d3f3b2f07 100644 --- a/src/misc/misc_time.c +++ b/src/misc/misc_time.c @@ -65,8 +65,6 @@ datestring(void) /* return time interval in seconds and milliseconds */ -#ifndef HAVE_GETRUSAGE -#ifndef HAVE_TIMES #ifdef HAVE_FTIME struct timeb timebegin; @@ -84,8 +82,6 @@ void timediff(struct timeb *now, struct timeb *begin, int *sec, int *msec) } -#endif -#endif #endif /* diff --git a/src/misc/misc_time.h b/src/misc/misc_time.h index 0424554a0..95cc1bcb2 100644 --- a/src/misc/misc_time.h +++ b/src/misc/misc_time.h @@ -9,16 +9,12 @@ char * datestring(void); double seconds(void); -#ifndef HAVE_GETRUSAGE -#ifndef HAVE_TIMES #ifdef HAVE_FTIME extern struct timeb timebegin; void timediff(struct timeb *, struct timeb *, int *, int *); -#endif -#endif #endif #endif