From 1249cf6dc9032810575fc5b94c002bf633316bfb Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Tue, 27 Jan 2009 02:16:20 +0100 Subject: always define PA_MAJOR/PA_MINOR/PA_MICRO to ease feature checking in client applications --- src/pulse/version.h.in | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/pulse') 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 -- cgit