projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add latency bin output to the json output format
[fio.git]
/
os
/
os-mac.h
diff --git
a/os/os-mac.h
b/os/os-mac.h
index c8d7dcae6cc1caf3bc28d2a61e3d98bac8b0e779..d202e99dd60a93bc3c11dd0088456bbc1a731adf 100644
(file)
--- a/
os/os-mac.h
+++ b/
os/os-mac.h
@@
-16,10
+16,6
@@
#include "../file.h"
#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
#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
#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)
#define fio_swap16(x) OSSwapInt16(x)
#define fio_swap32(x) OSSwapInt32(x)
#define fio_swap64(x) OSSwapInt64(x)