aboutsummaryrefslogtreecommitdiff
path: root/src/unalf.h
diff options
context:
space:
mode:
authorB. Watson <urchlay@slackware.uk>2025-11-14 19:50:19 -0500
committerB. Watson <urchlay@slackware.uk>2025-11-14 19:50:19 -0500
commit5038c54d371c02a264f5cbef4e092bf4da6ef5f2 (patch)
treecacf73040ca3751ce14890763be6f715bc412290 /src/unalf.h
parent269ce9c533b146b68371505a2c651043074e1c6b (diff)
downloadunalf-5038c54d371c02a264f5cbef4e092bf4da6ef5f2.tar.gz
Add -V/--version opt.
Diffstat (limited to 'src/unalf.h')
-rw-r--r--src/unalf.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/unalf.h b/src/unalf.h
index 40a23d1..422183a 100644
--- a/src/unalf.h
+++ b/src/unalf.h
@@ -1,3 +1,8 @@
+#ifndef VERSION
+#define VERSION "???"
+#warning "VERSION not defined, defaulting to \"???\""
+#endif
+
#ifndef u8
#define u8 unsigned char
#define u16 unsigned short