]> pd.if.org Git - pdclib/blobdiff - includes/stdnoreturn.h
dos2unix
[pdclib] / includes / stdnoreturn.h
index 5997ff696ec4bfcbe04ca23de4cbaad639fc2829..8c1814328fc9b6c7a281004b7b9b28f0572f2095 100644 (file)
@@ -1,16 +1,12 @@
-#ifndef _PDCLIB_STDNORETURN_H\r
-#define _PDCLIB_STDNORETURN_H\r
-#include <_PDCLIB_aux.h>\r
-\r
-#ifndef __cplusplus\r
-/* This is problematic - if we don't define it, then C code can't be compiled\r
- * on a C++ compiler. If we do define it, then we break all instances of C++\r
- * [[noreturn]]\r
- *\r
- * This does not appear well thought out...\r
- */\r
-#define noreturn _PDCLIB_noreturn\r
-#endif\r
-\r
-\r
-#endif\r
+/* _Noreturn <stdnoreturn.h>
+
+   This file is part of the Public Domain C Library (PDCLib).
+   Permission is granted to use, modify, and / or redistribute at will.
+*/
+
+#ifndef _PDCLIB_STDNORETURN_H
+#define _PDCLIB_STDNORETURN_H _PDCLIB_STDNORETURN_H
+
+#define noreturn _Noreturn
+
+#endif