aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/ALc.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2016-12-21 01:08:33 -0800
committerChris Robinson <[email protected]>2016-12-21 01:12:47 -0800
commitbcb6dfee71ef0ce4a0b9e7ceccb943f7f28704c4 (patch)
treee06b805f989c34613ab1980aa0d2a9dc976b215d /Alc/ALc.c
parent8f581c0e66e52a6f24e85763b39ed3be29a3e792 (diff)
Trace the commit ID and branch the library was built from
Diffstat (limited to 'Alc/ALc.c')
-rw-r--r--Alc/ALc.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/Alc/ALc.c b/Alc/ALc.c
index 95d5e178..f1e1ad1f 100644
--- a/Alc/ALc.c
+++ b/Alc/ALc.c
@@ -20,6 +20,8 @@
#include "config.h"
+#include "version.h"
+
#include <math.h>
#include <stdlib.h>
#include <stdio.h>
@@ -900,6 +902,8 @@ static void alc_initconfig(void)
else ERR("Failed to open log file '%s'\n", str);
}
+ TRACE("Initializing library v%s-%s %s\n", ALSOFT_VERSION,
+ ALSOFT_GIT_COMMIT_HASH, ALSOFT_GIT_BRANCH);
{
char buf[1024] = "";
int len = snprintf(buf, sizeof(buf), "%s", BackendList[0].name);