From: Jens Axboe Date: Wed, 23 Jan 2013 22:29:59 +0000 (-0700) Subject: Kill now unneeded clock definitions X-Git-Tag: fio-2.0.14~93 X-Git-Url: https://git.kernel.dk/?p=fio.git;a=commitdiff_plain;h=37adbfc4e189873d1d02c145b81c779971ef5337 Kill now unneeded clock definitions Signed-off-by: Jens Axboe --- diff --git a/os/os-hpux.h b/os/os-hpux.h index b4d677a4..266f0f1f 100644 --- a/os/os-hpux.h +++ b/os/os-hpux.h @@ -33,10 +33,6 @@ #define POSIX_MADV_RANDOM MADV_RANDOM #define posix_madvise(ptr, sz, hint) madvise((ptr), (sz), (hint)) -#ifndef CLOCK_MONOTONIC -#define CLOCK_MONOTONIC CLOCK_REALTIME -#endif - #ifndef MSG_WAITALL #define MSG_WAITALL 0x40 #endif diff --git a/os/os-mac.h b/os/os-mac.h index c8d7dcae..6ed26c57 100644 --- a/os/os-mac.h +++ b/os/os-mac.h @@ -16,10 +16,6 @@ #include "../file.h" -#ifndef CLOCK_REALTIME -#define CLOCK_REALTIME 1 -#endif - #define FIO_USE_GENERIC_RAND #define FIO_USE_GENERIC_INIT_RANDOM_STATE #define FIO_HAVE_GETTID