projects
/
idzebra-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3fcc65d
)
Visual studio version in zebra_get_version
author
Adam Dickmeiss
<adam@indexdata.dk>
Mon, 27 Aug 2007 17:40:10 +0000
(17:40 +0000)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Mon, 27 Aug 2007 17:40:10 +0000
(17:40 +0000)
util/version.c
patch
|
blob
|
history
diff --git
a/util/version.c
b/util/version.c
index
edae783
..
7c4614f
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.2 2007-08-27 17:40:10 adam Exp $
Copyright (C) 1995-2007
Index Data ApS
@@
-42,8
+42,11
@@
void zebra_get_version(char *version_str, char *sys_str)
#ifdef WIN32
strcpy(sys_str, "win32");
+#ifdef _MSC_VER
+ sprintf(sys_str+strlen(sys_str), "; mscver %lu",
+ (unsigned long) _MSC_VER);
+#endif
#endif
-
#ifdef HOST_TRIPLET
strcpy(sys_str, HOST_TRIPLET);
#endif