diff options
author | Yang Tse <yangsita@gmail.com> | 2012-07-05 22:16:15 +0200 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2012-07-05 22:18:11 +0200 |
commit | e77d8670685d38d80c940877a4fdfa3382c4d6cc (patch) | |
tree | 91b785d4fc38e8b741c62f8335b9a1bf5f5e7b1c /lib/setup.h | |
parent | 1b27bb446fad52d94a44d1d9bb5ee4b9c65d1e24 (diff) | |
download | curl-e77d8670685d38d80c940877a4fdfa3382c4d6cc.tar.gz |
unicode NTLM SSPI: cleanup
Reduce the number of #ifdef UNICODE directives used in source files.
Diffstat (limited to 'lib/setup.h')
-rw-r--r-- | lib/setup.h | 7 |
1 files changed, 7 insertions, 0 deletions
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 <winsock.h> # endif # endif +# include <tchar.h> #endif /* |