diff options
author | Gerald Combs <gerald@wireshark.org> | 2006-03-08 20:55:32 +0000 |
---|---|---|
committer | Gerald Combs <gerald@wireshark.org> | 2006-03-08 20:55:32 +0000 |
commit | 9406c5db24b03444140ab81fdb13f6a186e1e8a5 (patch) | |
tree | b35df42ea208c1120a98c32020fae4c9b2e751be /config.h.win32 | |
parent | def11f9418610a95bccc68e5a31a32bb335099be (diff) |
Use Unicode for all native Win32 calls. Unicode Windows applications
use UTF-16 internally and GTK+ 2.x uses UTF-8, which means we have to
do a lots of conversions.
Add utf_8to16() and utf_16to8 convenience functions to strutil.c.
svn path=/trunk/; revision=17534
Diffstat (limited to 'config.h.win32')
-rw-r--r-- | config.h.win32 | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/config.h.win32 b/config.h.win32 index dcd9094f40..794f18dbce 100644 --- a/config.h.win32 +++ b/config.h.win32 @@ -20,6 +20,10 @@ #define __STDC__ 0 #endif +/* Use Unicode in Windows runtime functions. */ +#define UNICODE 1 +#define _UNICODE 1 + /* Define if you have the ANSI C header files. */ #define STDC_HEADERS 1 |