X-Git-Url: https://git.kernel.dk/?a=blobdiff_plain;f=os.h;h=104f4a81a7f06a147a3c07732707aaa30258ee40;hb=07e5b2646f673a56c05a53c6a84bf5d0c949d290;hp=85db5b8e47a07a1376e0baaa373bc82f1f70a0ed;hpb=ee0e0a718f069fae189be800c2a6e2f5c28ff9f0;p=fio.git diff --git a/os.h b/os.h index 85db5b8e..104f4a81 100644 --- a/os.h +++ b/os.h @@ -51,13 +51,13 @@ #define SHM_HUGETLB 0 #define FIO_HUGE_PAGE 0 #else +#ifndef FIO_HUGE_PAGE #define FIO_HUGE_PAGE 4194304 #endif +#endif -#if __GNUC__ < 3 -#define __must_check -#else -#define __must_check __attribute__((warn_unused_result)) +#ifndef FIO_HAVE_RAWBIND +#define fio_lookup_raw(dev, majdev, mindev) #endif #endif