/* version_info.c
* Routines to report version information for stuff used by Ethereal
*
- * $Id: version_info.c,v 1.3 2004/02/24 01:14:27 guy Exp $
+ * $Id$
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
break_point = str->len - 1;
g_string_append(str,
"\nNOTE: this build does not support the \"matches\" operator for Ethereal filter"
- "\nsyntax.\n");
+ "\nsyntax.");
do_word_wrap(str, break_point);
#endif /* HAVE_LIBPCRE */
}
void
get_runtime_version_info(GString *str)
{
-#if defined(WIN32)
+#if defined(_WIN32)
OSVERSIONINFO info;
#elif defined(HAVE_SYS_UTSNAME_H)
struct utsname name;
get_runtime_pcap_version(str);
g_string_append(str, "on ");
-#if defined(WIN32)
+#if defined(_WIN32)
info.dwOSVersionInfoSize = sizeof info;
if (!GetVersionEx(&info)) {
/*