commit | 4fee8096bff598ab565ac1d258d584d584433341 | [log] [tgz] |
---|---|---|
author | Jens Axboe <jens.axboe@oracle.com> | Thu Mar 29 09:33:03 2007 +0200 |
committer | Jens Axboe <jens.axboe@oracle.com> | Thu Mar 29 09:33:03 2007 +0200 |
tree | 1a1ef358ad714798fd7c4c9c0b5856d8ee064014 | |
parent | 4d651dad4b3ee17a9be223fc1c0489cd4e304f65 [diff] [blame] |
Fix __must_check compile on older compilers Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
diff --git a/compiler-gcc4.h b/compiler-gcc4.h new file mode 100644 index 0000000..bb9cc7c --- /dev/null +++ b/compiler-gcc4.h
@@ -0,0 +1,6 @@ +#ifndef FIO_COMPILER_GCC4_H +#define FIO_COMPILER_GCC4_H + +#define __must_check __attribute__((warn_unused_result)) + +#endif