From eb7a2a10f96a3a33052bdaaea590f2316b1d6952 Mon Sep 17 00:00:00 2001 From: Doug MacEachern Date: Wed, 14 Dec 2005 23:40:23 +0000 Subject: [PATCH] version file for native stuff --- src/sigar_version.c.in | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 src/sigar_version.c.in diff --git a/src/sigar_version.c.in b/src/sigar_version.c.in new file mode 100644 index 00000000..f10edeae --- /dev/null +++ b/src/sigar_version.c.in @@ -0,0 +1,15 @@ +#include "sigar.h" + +static sigar_version_t sigar_version = { + "@@BUILD_DATE@@", + "@@VERSION_STRING@@", + "@@ARCHNAME@@", + @@VERSION_MAJOR@@, + @@VERSION_MINOR@@, + @@VERSION_MAINT@@ +}; + +SIGAR_DECLARE(sigar_version_t *) sigar_version_get(void) +{ + return &sigar_version; +}