X-Git-Url: https://git.kernel.dk/?a=blobdiff_plain;f=os%2Fos-mac.h;h=d202e99dd60a93bc3c11dd0088456bbc1a731adf;hb=da52c582b76a8752ad3dd113696c9debcb3449e8;hp=c8d7dcae6cc1caf3bc28d2a61e3d98bac8b0e779;hpb=5351f564918be658b8dd98a373cd91247c1e484b;p=fio.git diff --git a/os/os-mac.h b/os/os-mac.h index c8d7dcae..d202e99d 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 @@ -27,14 +23,6 @@ #define OS_MAP_ANON MAP_ANON -#if defined(__LITTLE_ENDIAN__) -#define FIO_LITTLE_ENDIAN -#elif defined(__BIG_ENDIAN__) -#define FIO_BIG_ENDIAN -#else -#error "Undefined byte order" -#endif - #define fio_swap16(x) OSSwapInt16(x) #define fio_swap32(x) OSSwapInt32(x) #define fio_swap64(x) OSSwapInt64(x)