aboutsummaryrefslogtreecommitdiff
path: root/lib/setup.h
diff options
context:
space:
mode:
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
/*