diff options
author | Ulf Lamping <ulf.lamping@web.de> | 2006-08-13 15:33:23 +0000 |
---|---|---|
committer | Ulf Lamping <ulf.lamping@web.de> | 2006-08-13 15:33:23 +0000 |
commit | 0cfb4a78d6c470a7440aa94516a5fd55479af9c7 (patch) | |
tree | f613fc2d297033943956815fc68f14d3670b2709 /dumpcap.c | |
parent | f7f96d52ddf8e85821dfdf9b24ff9d3891debb50 (diff) | |
download | wireshark-0cfb4a78d6c470a7440aa94516a5fd55479af9c7.tar.gz wireshark-0cfb4a78d6c470a7440aa94516a5fd55479af9c7.tar.bz2 wireshark-0cfb4a78d6c470a7440aa94516a5fd55479af9c7.zip |
put utf_16to8 under #ifdef _WIN32, thanks Toralf
svn path=/trunk/; revision=18892
Diffstat (limited to 'dumpcap.c')
-rw-r--r-- | dumpcap.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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 */ + |