http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1289
Rename 'svnversion' to 'wireshark_svnversion' to resolve a symbol conflict with
GTK 2.10.6 (hmm, shouldn't GTK not be exporting that symbol or at least naming
it so as to prevent such collisions? Well, so should we, so...)
From Andreas Fink: change #ifdef for size_t in airdcap_interop.h to fix
compile on MacOS X.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@20726
f5534014-38df-0310-8fa8-
9805f1628bb7
"Dumpcap " VERSION "%s\n"
"Capture network packets and dump them into a libpcap file.\n"
"See http://www.wireshark.org for more information.\n",
- svnversion);
+ wireshark_svnversion);
} else {
output = stderr;
}
"%s\n"
"%s\n"
"See http://www.wireshark.org for more information.\n",
- svnversion, get_copyright_info() ,comp_info_str->str, runtime_info_str->str);
+ wireshark_svnversion, get_copyright_info() ,comp_info_str->str, runtime_info_str->str);
}
/*
#endif
#ifndef size_t
+#ifndef _SIZE_T
typedef gsize size_t;
#endif
+#endif
#ifdef WIN32
#include <winsock2.h> /* ntohs() */
"Wireshark is Open Source Software released under the GNU General Public License.\n"
"\n"
"Check the man page and http://www.wireshark.org for more information.",
- svnversion, get_copyright_info(), comp_info_str->str,
+ wireshark_svnversion, get_copyright_info(), comp_info_str->str,
runtime_info_str->str);
msg_label = gtk_label_new(message);
"See http://www.wireshark.org for more information.\n"
"\n"
"%s",
- svnversion, get_copyright_info());
+ wireshark_svnversion, get_copyright_info());
} else {
output = stderr;
}
"%s"
"\n"
"%s",
- svnversion, get_copyright_info(), comp_info_str->str,
+ wireshark_svnversion, get_copyright_info(), comp_info_str->str,
runtime_info_str->str);
#ifdef _WIN32
"See http://www.wireshark.org for more information.\n"
"\n"
"%s",
- svnversion, get_copyright_info());
+ wireshark_svnversion, get_copyright_info());
} else {
output = stderr;
}
"%s"
"\n"
"%s",
- svnversion, get_copyright_info(), comp_info_str->str,
+ wireshark_svnversion, get_copyright_info(), comp_info_str->str,
runtime_info_str->str);
exit(0);
break;
#endif
#ifdef SVNVERSION
- const char *svnversion = " (" SVNVERSION ")";
+ const char *wireshark_svnversion = " (" SVNVERSION ")";
#else
- const char *svnversion = "";
+ const char *wireshark_svnversion = "";
#endif
/*
/*
* The svn version string or ""
*/
-extern const gchar *svnversion;
+extern const gchar *wireshark_svnversion;
/*
* Get various library compile-time versions and append them to