Update gnulib to current trunk
[deliverable/binutils-gdb.git] / gnulib / import / stat.c
index e074e6a0a0302627da21a1fd01c1eefd5485ce86..9d3965d3ce5aebca61a5777cc1625c04a1aa52c0 100644 (file)
@@ -65,6 +65,13 @@ orig_stat (const char *filename, struct stat *buf)
 # define WIN32_LEAN_AND_MEAN
 # include <windows.h>
 # include "stat-w32.h"
+/* Don't assume that UNICODE is not defined.  */
+# undef WIN32_FIND_DATA
+# define WIN32_FIND_DATA WIN32_FIND_DATAA
+# undef CreateFile
+# define CreateFile CreateFileA
+# undef FindFirstFile
+# define FindFirstFile FindFirstFileA
 #endif
 
 #ifdef WINDOWS_NATIVE
This page took 0.030048 seconds and 4 git commands to generate.