summaryrefslogtreecommitdiffhomepage
path: root/src/noreturn.h
diff options
context:
space:
mode:
authorMichael Smith <mikesmiffy128@gmail.com>2021-11-20 03:10:50 +0000
committerMichael Smith <mikesmiffy128@gmail.com>2021-11-20 03:18:08 +0000
commitda6f343032cb01597dc7866e66f091adf3243a62 (patch)
tree870f8cb8e82bb42202ab92bea03fc6ab35ada7ca /src/noreturn.h
Initial public snapshot
With code from Bill. Thanks Bill!
Diffstat (limited to 'src/noreturn.h')
-rw-r--r--src/noreturn.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/noreturn.h b/src/noreturn.h
new file mode 100644
index 0000000..81b2bae
--- /dev/null
+++ b/src/noreturn.h
@@ -0,0 +1,11 @@
+/* This file is dedicated to the public domain. */
+
+#ifndef INC_NORETURN_H
+#define INC_NORETURN_H
+
+#undef noreturn
+#define noreturn _Noreturn void
+
+#endif
+
+// vi: sw=4 ts=4 noet tw=80 cc=80