mirror of
https://github.com/apache/nuttx.git
synced 2026-05-20 04:16:35 +08:00
stdnoreturn.h: remove C++11 dependency. Applies to C too.
This commit is contained in:
@@ -44,11 +44,7 @@
|
||||
|
||||
/* C11 adds _Noreturn keyword that the function will not return. */
|
||||
|
||||
# if __cplusplus >= 201103L
|
||||
# define noreturn _Noreturn
|
||||
# else
|
||||
# define noreturn
|
||||
# endif
|
||||
# define noreturn _Noreturn
|
||||
|
||||
#elif defined(SDCC) || defined(__SDCC)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user