summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2009-01-27 02:16:20 +0100
committerLennart Poettering <lennart@poettering.net>2009-01-27 02:16:20 +0100
commit1249cf6dc9032810575fc5b94c002bf633316bfb (patch)
tree4671a4a04d925a3feacae821a0a5697ef3101612 /src
parent948be361c44f16f9982a92d33259625b7256dd3e (diff)
always define PA_MAJOR/PA_MINOR/PA_MICRO to ease feature checking in client applications
Diffstat (limited to 'src')
-rw-r--r--src/pulse/version.h.in9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/pulse/version.h.in b/src/pulse/version.h.in
index 0e37f983..566dd55e 100644
--- a/src/pulse/version.h.in
+++ b/src/pulse/version.h.in
@@ -51,6 +51,15 @@ const char* pa_get_library_version(void);
* 0.8/PulseAudio 0.9. */
#define PA_PROTOCOL_VERSION @PA_PROTOCOL_VERSION@
+/** The major version of PA. \since 0.9.15 */
+#define PA_MAJOR @PA_MAJOR@
+
+/** The minor version of PA. \since 0.9.15 */
+#define PA_MINOR @PA_MINOR@
+
+/** The micro version of PA. \since 0.9.15 */
+#define PA_MICRO @PA_MICRO@
+
PA_C_DECL_END
#endif