projects
/
fio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
e3de2e7
)
Merge branch 'master' of https://github.com/cccheng/fio
author
Jens Axboe
<axboe@kernel.dk>
Mon, 28 Mar 2022 12:43:56 +0000
(06:43 -0600)
committer
Jens 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
patch
|
blob
|
blame
|
history
diff --git
a/compiler/compiler.h
b/compiler/compiler.h
index 44fa87b90cf8c5959ec76c8544aa90480b89f318..3fd0822f3b77bca92a99472ebbc9fbd1fb241df0 100644
(file)
--- a/
compiler/compiler.h
+++ b/
compiler/compiler.h
@@
-67,6
+67,7
@@
#endif
#ifndef __has_attribute
+#define __has_attribute(x) __GCC4_has_attribute_##x
#define __GCC4_has_attribute___fallthrough__ 0
#endif