Jens Axboe | 4fee809 | 2007-03-29 09:33:03 +0200 | [diff] [blame] | 1 | #ifndef FIO_COMPILER_GCC3_H |
2 | #define FIO_COMPILER_GCC3_H | ||||
3 | |||||
4 | #if __GNUC_MINOR__ >= 4 | ||||
Jens Axboe | 72711fb | 2007-06-24 22:41:27 +0200 | [diff] [blame] | 5 | #ifndef __must_check |
Jens Axboe | 4fee809 | 2007-03-29 09:33:03 +0200 | [diff] [blame] | 6 | #define __must_check __attribute__((warn_unused_result)) |
7 | #endif | ||||
Jens Axboe | 72711fb | 2007-06-24 22:41:27 +0200 | [diff] [blame] | 8 | #endif |
Jens Axboe | 4fee809 | 2007-03-29 09:33:03 +0200 | [diff] [blame] | 9 | |
10 | #endif |