1 /* _Noreturn <stdnoreturn.h>
2 
3    This file is part of the Public Domain C Library (PDCLib).
4    Permission is granted to use, modify, and / or redistribute at will.
5 */
6 
7 #ifndef _PDCLIB_STDNORETURN_H
8 #define _PDCLIB_STDNORETURN_H _PDCLIB_STDNORETURN_H
9 
10 #include "pdclib/_PDCLIB_internal.h"
11 
12 /* This basically breaks the letter of the standard (which states that
13    noreturn be defined to _Noreturn). This defines noreturn -> _Noreturn
14    on C11 compliant compilers only (as older compilers do not know about
15    _Noreturn).
16 */
17 #define noreturn _PDCLIB_Noreturn
18 
19 /* Extension hook for downstream projects that want to have non-standard
20    extensions to standard headers.
21 */
22 #ifdef _PDCLIB_EXTEND_STDNORETURN_H
23 #include _PDCLIB_EXTEND_STDNORETURN_H
24 #endif
25 
26 #endif
27