krb5 commit [krb5-1.10]: Remove the UNICODE defines from wshelper

Tom Yu tlyu at MIT.EDU
Mon Jul 23 16:26:26 EDT 2012


https://github.com/krb5/krb5/commit/6f6dc3a55e345118bb06c1aee0a899db8e68abff
commit 6f6dc3a55e345118bb06c1aee0a899db8e68abff
Author: Alexey Melnikov <alexey.melnikov at isode.com>
Date:   Thu Sep 22 18:12:47 2011 +0100

    Remove the UNICODE defines from wshelper
    
    wshelper is clearly not intended to use unicode:
    wprintf is used extensively and exclusively to write to char[] buffers and
    fields in dns structs are used as explicitly ASCII text.
    
    Signed-off-by: Alexey Melnikov <aamelnikov at gmail.com>
    
    (cherry picked from commit 7d156d88ce5cdc40b1df02f051d65b3ad93c60e1)
    
    ticket: 7210
    version_fixed: 1.10.3
    status: resolved

 src/util/wshelper/Makefile.in |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/util/wshelper/Makefile.in b/src/util/wshelper/Makefile.in
index 5fa5cd4..5abf2e5 100644
--- a/src/util/wshelper/Makefile.in
+++ b/src/util/wshelper/Makefile.in
@@ -39,7 +39,7 @@ WINLIBS = advapi32.lib user32.lib ws2_32.lib dnsapi.lib
 
 WINDLLFLAGS = /nologo /dll /incremental:no /release $(LOPTS)
 
-DEFINES = -DUNICODE -D_UNICODE
+DEFINES =
 !ifdef NODEBUG
 DEFINES = $(DEFINES)
 !else


More information about the cvs-krb5 mailing list