X-Git-Url: http://jsfdemo.indexdata.com/?a=blobdiff_plain;f=util%2Fversion.c;h=c6239e0b2a1c7a267e00ba73f6fd17747d32f95a;hb=2cf8341fde67a92369c46d9b12e6d056e5bc5a0e;hp=edae783f00d645e565799c7cac3daf256e3ecefc;hpb=3fcc65de3bb8ac7af03900dccf23a5b1219b2e8e;p=idzebra-moved-to-github.git diff --git a/util/version.c b/util/version.c index edae783..c6239e0 100644 --- a/util/version.c +++ b/util/version.c @@ -1,8 +1,5 @@ -/* $Id: version.c,v 1.1 2007-08-27 17:22:22 adam Exp $ - Copyright (C) 1995-2007 - Index Data ApS - -This file is part of the Zebra server. +/* This file is part of the Zebra server. + Copyright (C) 1995-2008 Index Data Zebra is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free @@ -29,6 +26,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA #include #endif +#include #include #include @@ -42,8 +40,11 @@ void zebra_get_version(char *version_str, char *sys_str) #ifdef WIN32 strcpy(sys_str, "win32"); +#ifdef _MSC_VER + yaz_snprintf(sys_str+strlen(sys_str), 25, "; mscver %lu", + (unsigned long) _MSC_VER); +#endif #endif - #ifdef HOST_TRIPLET strcpy(sys_str, HOST_TRIPLET); #endif