0.3.0: converge relibc to upstream 0.6.0 + Red Bear patches
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
/* Spec:
|
||||
* The <stdnoreturn.h> header shall define the macro noreturn which shall
|
||||
* expand to _Noreturn */
|
||||
|
||||
#ifndef _STDNORETURN_H
|
||||
#define _STDNORETURN_H
|
||||
|
||||
#ifndef __cplusplus
|
||||
/* Borrowed from musl */
|
||||
#if __STDC_VERSION__ >= 201112L
|
||||
#elif defined(__GNUC__)
|
||||
#define _Noreturn __attribute__((__noreturn__))
|
||||
#else
|
||||
#define _Noreturn
|
||||
#endif
|
||||
#define noreturn _Noreturn
|
||||
#endif
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user