Update gnulib to current trunk
[deliverable/binutils-gdb.git] / gnulib / import / getlogin_r.c
index 799ffa42439f89b5f9a3e15c3f7fbfb5595e8824..a461112cf93cb54dec2d0fb722589b776ceb6d1b 100644 (file)
@@ -30,6 +30,9 @@
 #if defined _WIN32 && ! defined __CYGWIN__
 # define WIN32_LEAN_AND_MEAN
 # include <windows.h>
+/* Don't assume that UNICODE is not defined.  */
+# undef GetUserName
+# define GetUserName GetUserNameA
 #else
 # if !HAVE_DECL_GETLOGIN
 extern char *getlogin (void);
This page took 0.042538 seconds and 4 git commands to generate.