compiler.h needs to define __must_check if not set
authorJens Axboe <jens.axboe@oracle.com>
Thu, 29 Mar 2007 07:35:35 +0000 (09:35 +0200)
committerJens Axboe <jens.axboe@oracle.com>
Thu, 29 Mar 2007 07:35:35 +0000 (09:35 +0200)
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
compiler.h

index 8a3fe634899d57497f896ee6af890a51dd758168..72e84197584e1aa8872e2905bc70710989443416 100644 (file)
@@ -9,4 +9,8 @@
 #error Compiler too old, need gcc at least gcc 3.x
 #endif
 
+#ifndef __must_check
+#define __must_check
+#endif
+
 #endif