X-Git-Url: https://git.kernel.dk/?p=fio.git;a=blobdiff_plain;f=os%2Fos-solaris.h;h=f1966f449d9f4acb6fa7b20c3b376ae6f384fb8c;hp=1a411af664e8de947fc0497f59a12648e8d60fe0;hb=de5ed0e4d398bc9d4576f9b2b82d7686989c27e1;hpb=a7760ecdb13394819b719f3f8181cc74c3d4affa diff --git a/os/os-solaris.h b/os/os-solaris.h index 1a411af6..f1966f44 100644 --- a/os/os-solaris.h +++ b/os/os-solaris.h @@ -164,10 +164,12 @@ static inline int fio_cpuset_exit(os_cpu_mask_t *mask) return 0; } +#ifndef CONFIG_HAVE_GETTID static inline int gettid(void) { return pthread_self(); } +#endif /* * Should be enough, not aware of what (if any) restrictions Solaris has