aboutsummaryrefslogtreecommitdiff
path: root/tinycc/stab.h
diff options
context:
space:
mode:
authorUneven Prankster <unevenprankster@protonmail.com>2023-07-12 13:22:29 -0300
committerUneven Prankster <unevenprankster@protonmail.com>2023-07-12 13:22:29 -0300
commitfa2bdd711212ba6b7a94a20971e8bfa281e73296 (patch)
tree6713b3c0379507d49558287b71dd360ce188a2f0 /tinycc/stab.h
lol
Diffstat (limited to 'tinycc/stab.h')
-rw-r--r--tinycc/stab.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/tinycc/stab.h b/tinycc/stab.h
new file mode 100644
index 0000000..80bd594
--- /dev/null
+++ b/tinycc/stab.h
@@ -0,0 +1,17 @@
+#ifndef __GNU_STAB__
+
+/* Indicate the GNU stab.h is in use. */
+
+#define __GNU_STAB__
+
+#define __define_stab(NAME, CODE, STRING) NAME=CODE,
+
+enum __stab_debug_code
+{
+#include "stab.def"
+LAST_UNUSED_STAB_CODE
+};
+
+#undef __define_stab
+
+#endif /* __GNU_STAB_ */