version file for native stuff

This commit is contained in:
Doug MacEachern 2005-12-14 23:40:23 +00:00
parent 739ea91d90
commit eb7a2a10f9
1 changed files with 15 additions and 0 deletions

15
src/sigar_version.c.in Normal file
View File

@ -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;
}