From 37adbfc4e189873d1d02c145b81c779971ef5337 Mon Sep 17 00:00:00 2001 From: Jens Axboe Date: Wed, 23 Jan 2013 15:29:59 -0700 Subject: [PATCH] Kill now unneeded clock definitions Signed-off-by: Jens Axboe --- os/os-hpux.h | 4 ---- os/os-mac.h | 4 ---- 2 files changed, 8 deletions(-) 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 -- 2.25.1