projects
/
silc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merged silc_1_1_branch to trunk.
[silc.git]
/
includes
/
silcversion.h.in
diff --git
a/includes/silcversion.h.in
b/includes/silcversion.h.in
index ebe86f793a7c1ea50d7b25d810111a5f93107664..45a65c9fe6e8cf757d9b72350e12364ec35cb511 100644
(file)
--- a/
includes/silcversion.h.in
+++ b/
includes/silcversion.h.in
@@
-24,6
+24,11
@@
extern "C" {
#endif
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@"
#define SILC_VERSION_STRING "@VERSION@"
#define SILC_DIST_VERSION_STRING "@VERSION@"
#define SILC_PROTOCOL_VERSION_STRING "SILC-1.2-@VERSION@ @PACKAGE@"