Merge branch 'master' of https://github.com/cccheng/fio
authorJens Axboe <axboe@kernel.dk>
Mon, 28 Mar 2022 12:43:56 +0000 (06:43 -0600)
committerJens Axboe <axboe@kernel.dk>
Mon, 28 Mar 2022 12:43:56 +0000 (06:43 -0600)
* 'master' of https://github.com/cccheng/fio:
  Fix compile error of GCC 4

compiler/compiler.h

index 44fa87b90cf8c5959ec76c8544aa90480b89f318..3fd0822f3b77bca92a99472ebbc9fbd1fb241df0 100644 (file)
@@ -67,6 +67,7 @@
 #endif
 
 #ifndef __has_attribute
+#define __has_attribute(x) __GCC4_has_attribute_##x
 #define __GCC4_has_attribute___fallthrough__   0
 #endif