aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--OpenAL32/alState.c2
-rw-r--r--config.h.in3
2 files changed, 4 insertions, 1 deletions
diff --git a/OpenAL32/alState.c b/OpenAL32/alState.c
index c577ea8d..0a01dc37 100644
--- a/OpenAL32/alState.c
+++ b/OpenAL32/alState.c
@@ -27,7 +27,7 @@
#include "alState.h"
static const ALchar alVendor[] = "OpenAL Community";
-static const ALchar alVersion[] = "1.1";
+static const ALchar alVersion[] = "1.1 ALSOFT "ALSOFT_VERSION;
static const ALchar alRenderer[] = "OpenAL Soft";
// Error Messages
diff --git a/config.h.in b/config.h.in
index 236b653a..9cc80eeb 100644
--- a/config.h.in
+++ b/config.h.in
@@ -1,6 +1,9 @@
#ifndef CONFIG_H
#define CONFIG_H
+/* Define to the library version */
+#define ALSOFT_VERSION "${LIB_VERSION}"
+
/* Define if we have the ALSA backend */
#cmakedefine HAVE_ALSA