version-checking patch

Thiago Macieira thiago at kde.org
Fri Aug 3 12:41:48 PDT 2007


Havoc Pennington wrote:
>I'm checking in this patch to add version number macros and
>dbus_get_version().
>
>If you are planning to use this API please look it over to be sure it
>will work for you.

Thanks.

It looks like it will work for us.

#if (DBUS_VERSION - 0) >= 0x010200
/* cool stuff */
#else
/* uncool stuff */
#endif


-- 
  Thiago Macieira  -  thiago (AT) macieira.info - thiago (AT) kde.org
    PGP/GPG: 0x6EF45358; fingerprint:
    E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : http://lists.freedesktop.org/archives/dbus/attachments/20070803/489991f9/attachment.pgp 


More information about the dbus mailing list