Ensure that lint does not pick up C11 keywords (e.g. _Noreturn), even

if C11 mode is used.  It does not support any C11 constructs.

MFC after:	3 days
This commit is contained in:
dim 2015-01-29 18:44:21 +00:00
parent 2f60094c0c
commit 57d4c15c47

View File

@ -252,7 +252,7 @@
* Keywords added in C11.
*/
#if !defined(__STDC_VERSION__) || __STDC_VERSION__ < 201112L
#if !defined(__STDC_VERSION__) || __STDC_VERSION__ < 201112L || defined(lint)
#if !__has_extension(c_alignas)
#if (defined(__cplusplus) && __cplusplus >= 201103L) || \