summaryrefslogtreecommitdiff
path: root/support/ltx2x/strtypes.h
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
committerNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
commite0c6872cf40896c7be36b11dcc744620f10adf1d (patch)
tree60335e10d2f4354b0674ec22d7b53f0f8abee672 /support/ltx2x/strtypes.h
Initial commit
Diffstat (limited to 'support/ltx2x/strtypes.h')
-rw-r--r--support/ltx2x/strtypes.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/support/ltx2x/strtypes.h b/support/ltx2x/strtypes.h
new file mode 100644
index 0000000000..89f70dda70
--- /dev/null
+++ b/support/ltx2x/strtypes.h
@@ -0,0 +1,16 @@
+/* strtypes.h some typedefs for strings and TRUE/FALSE */
+
+#ifndef STRTYPES_H
+#define STRTYPES_H
+typedef char *STRING; /* a pointer-to-a-char */
+typedef STRING *PTRADR; /* A pointer-to-a-pointer-to-a-char */
+#define SNUL '\0'
+#endif
+
+#ifndef TRUE
+# define TRUE 1
+#endif
+#ifndef FALSE
+# define FALSE 0
+#endif
+