aboutsummaryrefslogtreecommitdiff
path: root/lib/setup.h
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2012-07-05 22:16:15 +0200
committerYang Tse <yangsita@gmail.com>2012-07-05 22:18:11 +0200
commite77d8670685d38d80c940877a4fdfa3382c4d6cc (patch)
tree91b785d4fc38e8b741c62f8335b9a1bf5f5e7b1c /lib/setup.h
parent1b27bb446fad52d94a44d1d9bb5ee4b9c65d1e24 (diff)
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.h7
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
/*