From bcb6dfee71ef0ce4a0b9e7ceccb943f7f28704c4 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Wed, 21 Dec 2016 01:08:33 -0800 Subject: Trace the commit ID and branch the library was built from --- Alc/ALc.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Alc') 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 #include #include @@ -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); -- cgit v1.2.3