summaryrefslogtreecommitdiff
path: root/functions.h
diff options
context:
space:
mode:
authorLuke Bratch <luke@bratch.co.uk>2024-03-30 13:32:19 +0000
committerLuke Bratch <luke@bratch.co.uk>2024-03-30 13:32:19 +0000
commitef5ef17bab5581bc001da0e2a9ab77620a19ffb0 (patch)
tree88d2ca2ed43774391f618f49c78fd978e40e08cd /functions.h
parent8450fa9418e3d0003a6990a5384437bde4ea76c0 (diff)
Pass VERSION at compile time based on "git describe". Add fallback VERSION file for if Git isn't installed.
Diffstat (limited to 'functions.h')
-rw-r--r--functions.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/functions.h b/functions.h
index 30ae4e4..6ec2c28 100644
--- a/functions.h
+++ b/functions.h
@@ -55,7 +55,7 @@
#define MAXTOKENS 100 // For strsep string splitting
-#define VERSION "0.2-git" // Blabouncer version
+//#define VERSION "" // VERSION is now passed via -DVERSION by the Makefile
// Write debug string to file.
// Debug level is provided by level, set to one of DEBUG_CRIT, DEBUG_SOME or DEBUG_FULL.