/* version_info.c
* Routines to report version information for stuff used by Wireshark
*
- * $Id$
- *
* Wireshark - Network traffic analyzer
* By Gerald Combs <gerald@wireshark.org>
* Copyright 1998 Gerald Combs
#include "capture-pcap-util.h"
#include <wsutil/unicode-utils.h>
-#include "svnversion.h"
+#include "version.h"
#ifdef HAVE_WINDOWS_H
#include <windows.h>
# include <sys/capability.h>
#endif
-#ifdef SVNVERSION
- const char *wireshark_svnversion = " (" SVNVERSION " from " SVNPATH ")";
+#ifdef GITVERSION
+ const char *wireshark_gitversion = " (" GITVERSION " from " GITBRANCH ")";
#else
- const char *wireshark_svnversion = "";
+ const char *wireshark_gitversion = "";
#endif
/*
__cpuid(CPUInfo, selector);
}
#elif defined(__GNUC__)
-#if defined(__x86_64__)
+#if defined(__x86_64__)
static inline void
do_cpuid(guint32 *CPUInfo, int selector)
{
MEMORYSTATUSEX statex;
statex.dwLength = sizeof (statex);
-
+
if(GlobalMemoryStatusEx (&statex))
g_string_append_printf(str, ", with ""%" G_GINT64_MODIFIER "d" "MB of physical memory.\n", statex.ullTotalPhys/(1024*1024));
#endif
get_copyright_info(void)
{
return
-"Copyright 1998-2013 Gerald Combs <gerald@wireshark.org> and contributors.\n"
+"Copyright 1998-2014 Gerald Combs <gerald@wireshark.org> and contributors.\n"
"This is free software; see the source for copying conditions. There is NO\n"
"warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n";
}