projects
/
idzebra-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Chinese text tests
[idzebra-moved-to-github.git]
/
util
/
version.c
diff --git
a/util/version.c
b/util/version.c
index
edae783
..
0daaf9e
100644
(file)
--- a/
util/version.c
+++ b/
util/version.c
@@
-1,4
+1,4
@@
-/* $Id: version.c,v 1.1 2007-08-27 17:22:22 adam Exp $
+/* $Id: version.c,v 1.3 2007-08-27 17:43:21 adam Exp $
Copyright (C) 1995-2007
Index Data ApS
Copyright (C) 1995-2007
Index Data ApS
@@
-29,6
+29,7
@@
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#include <config.h>
#endif
#include <config.h>
#endif
+#include <yaz/snprintf.h>
#include <string.h>
#include <idzebra/version.h>
#include <string.h>
#include <idzebra/version.h>
@@
-42,8
+43,11
@@
void zebra_get_version(char *version_str, char *sys_str)
#ifdef WIN32
strcpy(sys_str, "win32");
#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
#endif
-
#ifdef HOST_TRIPLET
strcpy(sys_str, HOST_TRIPLET);
#endif
#ifdef HOST_TRIPLET
strcpy(sys_str, HOST_TRIPLET);
#endif