X-Git-Url: http://git.silcnet.org/gitweb/?p=silc.git;a=blobdiff_plain;f=includes%2Fsilcversion.h.in;h=45a65c9fe6e8cf757d9b72350e12364ec35cb511;hp=ebe86f793a7c1ea50d7b25d810111a5f93107664;hb=52e57c880aba9c5e89f59d962eb9af75670b76e0;hpb=ae1482a76c29db9fdcd6ed6cf63d312a37a5cb01 diff --git a/includes/silcversion.h.in b/includes/silcversion.h.in index ebe86f79..45a65c9f 100644 --- a/includes/silcversion.h.in +++ b/includes/silcversion.h.in @@ -24,6 +24,11 @@ extern "C" { #endif +/* Version check macro. Use this to check that package is of specific + version compile time. Use the __SILC_XXX_VERSION below in comparison. */ +#define SILC_VERSION(a, b, c) (((a) << 24) + ((b) << 16) + ((c) << 8) +@__SILC_PACKAGE_VERSION@ + #define SILC_VERSION_STRING "@VERSION@" #define SILC_DIST_VERSION_STRING "@VERSION@" #define SILC_PROTOCOL_VERSION_STRING "SILC-1.2-@VERSION@ @PACKAGE@"