From e77d8670685d38d80c940877a4fdfa3382c4d6cc Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Thu, 5 Jul 2012 22:16:15 +0200 Subject: unicode NTLM SSPI: cleanup Reduce the number of #ifdef UNICODE directives used in source files. --- lib/setup.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'lib/setup.h') diff --git a/lib/setup.h b/lib/setup.h index 42a0a813a..87a9d82b5 100644 --- a/lib/setup.h +++ b/lib/setup.h @@ -223,6 +223,12 @@ */ #ifdef HAVE_WINDOWS_H +# if defined(UNICODE) && !defined(_UNICODE) +# define _UNICODE +# endif +# if defined(_UNICODE) && !defined(UNICODE) +# define UNICODE +# endif # ifndef WIN32_LEAN_AND_MEAN # define WIN32_LEAN_AND_MEAN # endif @@ -237,6 +243,7 @@ # include # endif # endif +# include #endif /* -- cgit v1.2.3