Skip to content

Commit

Permalink
Compiler Attributes: fix comment concerning GCC 4.6
Browse files Browse the repository at this point in the history
GCC 4.6 is not supported anymore, so remove a reference to it,
leaving just the part about version prior GCC 5.

Signed-off-by: Luc Van Oostenryck <[email protected]>
Signed-off-by: Miguel Ojeda <[email protected]>
  • Loading branch information
lucvoo authored and ojeda committed Aug 27, 2020
1 parent aac544c commit 5861af9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/linux/compiler_attributes.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

/*
* __has_attribute is supported on gcc >= 5, clang >= 2.9 and icc >= 17.
* In the meantime, to support 4.6 <= gcc < 5, we implement __has_attribute
* In the meantime, to support gcc < 5, we implement __has_attribute
* by hand.
*/
#ifndef __has_attribute
Expand Down

0 comments on commit 5861af9

Please sign in to comment.