Library Version?

Sander Jansen s.jansen at
Tue Jul 24 09:26:39 PDT 2007

Most libraries have two things: a preprocessor define in the header
files to check during compilation, and a variable that can be accessed
(by a function for example, or simply a extern) to check what the
version of the library is being linked in (which may be different than
during compilation) ...

Both are important to have I think.



On 7/24/07, Thiago Macieira <thiago at> wrote:
> Sander Jansen wrote:
> >Does dbus have a version number that can queried from within the
> >program that links to it?
> No.
> But we should add such a macro, starting at 0x010100 (1.1.0).
> The absence of the macro would mean D-Bus 1.0.
> --
>  Thiago Macieira - thiago (AT) - thiago (AT)
>   PGP/GPG: 0x6EF45358; fingerprint:
>   E067 918B B660 DBD1 105C 966C 33F5 F005 6EF4 5358
> _______________________________________________
> dbus mailing list
> dbus at

More information about the dbus mailing list