]> git.sesse.net Git - vlc/commitdiff
Win32: use Wide Chars APIs
authorJean-Baptiste Kempf <jb@videolan.org>
Sun, 20 Jan 2013 20:59:25 +0000 (21:59 +0100)
committerJean-Baptiste Kempf <jb@videolan.org>
Sun, 20 Jan 2013 20:59:25 +0000 (21:59 +0100)
configure.ac

index b0639e0559376d04afca5cca858f1c2dd938776b..968c2e96099cb7766b5a4dade4bcc8c6c599456a 100644 (file)
@@ -207,6 +207,8 @@ case "${host_os}" in
     AC_CHECK_TOOL(OBJCOPY, objcopy, :)
     AC_DEFINE([_WIN32_WINNT], 0x0502, [Define to '0x0502' for Windows XP SP2 APIs.])
     AC_DEFINE([_WIN32_IE], 0x0600, [Define to '0x0600' for IE 6.0 (and shell) APIs.])
+    AC_DEFINE([_UNICODE], [1], [Define to 1 for Unicode (Wide Chars) APIs.])
+    AC_DEFINE([UNICODE], [1], [Define to 1 for Unicode (Wide Chars) APIs.])
 
     case "${host_os}" in
       *mingw32*)