fix redundant _Noreturn def in err.h
not sure why this was missed in the earlier commit.
This commit is contained in:
parent
455f96857f
commit
695a04fc25
1 changed files with 1 additions and 7 deletions
|
|
@ -1,13 +1,7 @@
|
||||||
#ifndef _ERR_H
|
#ifndef _ERR_H
|
||||||
#define _ERR_H
|
#define _ERR_H
|
||||||
|
|
||||||
#if __STDC_VERSION__ >= 201112L
|
#include <features.h>
|
||||||
#elif defined(__GNUC__)
|
|
||||||
#define _Noreturn __attribute__((__noreturn__))
|
|
||||||
#else
|
|
||||||
#define _Noreturn
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#include <stdarg.h>
|
#include <stdarg.h>
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue