projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
configure: add gettid() test
[fio.git]
/
os
/
os-mac.h
diff --git
a/os/os-mac.h
b/os/os-mac.h
index 0b9c870761df96677a90a80f183a1c850fec2a36..a073300c40c5ed6fea8c2ec2ff4933776ef7066d 100644
(file)
--- a/
os/os-mac.h
+++ b/
os/os-mac.h
@@
-90,10
+90,12
@@
static inline unsigned long long os_phys_mem(void)
return mem;
}
+#ifndef CONFIG_HAVE_GETTID
static inline int gettid(void)
{
return mach_thread_self();
}
+#endif
/*
* For some reason, there's no header definition for fdatasync(), even