aboutsummaryrefslogtreecommitdiff
path: root/util.h
diff options
context:
space:
mode:
authorRandy Palamar <randy@rnpnr.xyz>2025-12-13 09:37:21 -0700
committerRandy Palamar <randy@rnpnr.xyz>2025-12-16 11:28:44 -0700
commit5abe94420528d3e107eceb0f3df073e8a1270191 (patch)
tree332ab323c429250efcd086b15dac9beff6625a60 /util.h
parentbafcf13695f80dac6d9be87b65ad6156ddc3d621 (diff)
downloadvis-5abe94420528d3e107eceb0f3df073e8a1270191.tar.gz
vis-5abe94420528d3e107eceb0f3df073e8a1270191.tar.xz
make vis a single file build
Diffstat (limited to 'util.h')
-rw-r--r--util.h23
1 files changed, 22 insertions, 1 deletions
diff --git a/util.h b/util.h
index 8b39c1e..83dd4ab 100644
--- a/util.h
+++ b/util.h
@@ -2,7 +2,28 @@
#define UTIL_H
#ifndef VIS_INTERNAL
- #define VIS_INTERNAL
+ #define VIS_INTERNAL static
+#endif
+#ifndef CONFIG_HELP
+ #define CONFIG_HELP 1
+#endif
+#ifndef CONFIG_CURSES
+ #define CONFIG_CURSES 0
+#endif
+#ifndef CONFIG_LUA
+ #define CONFIG_LUA 0
+#endif
+#ifndef CONFIG_LPEG
+ #define CONFIG_LPEG 0
+#endif
+#ifndef CONFIG_TRE
+ #define CONFIG_TRE 0
+#endif
+#ifndef CONFIG_SELINUX
+ #define CONFIG_SELINUX 0
+#endif
+#ifndef CONFIG_ACL
+ #define CONFIG_ACL 0
#endif
#include <stdbool.h>