aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--dumpcap.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/dumpcap.c b/dumpcap.c
index 5486bf9895..287f8927fd 100644
--- a/dumpcap.c
+++ b/dumpcap.c
@@ -626,6 +626,8 @@ signal_pipe_check_running(void)
const char *netsnmp_get_version(void) { return ""; }
+#ifdef _WIN32
+
/* Convert from UTF-16 to UTF-8. */
/* XXX - copied from epan/strutil.c */
#define INITIAL_FMTBUF_SIZE 128
@@ -667,3 +669,5 @@ gchar * utf_16to8(const wchar_t *utf16str) {
return utf8buf[idx];
}
+#endif /* _WIN32 */
+