diff -r c40f2b19eca9 -r 2b9d61386688 fios.h --- a/fios.h Tue Nov 28 14:32:24 2006 +0000 +++ b/fios.h Tue Nov 28 14:42:31 2006 +0000 @@ -57,7 +57,7 @@ typedef struct DIR DIR; typedef struct dirent { // XXX - only d_name implemented - char *d_name; /* name of found file */ + wchar_t *d_name; /* name of found file */ /* little hack which will point to parent DIR struct which will * save us a call to GetFileAttributes if we want information * about the file (for example in function fio_bla */ @@ -70,7 +70,7 @@ * note: having only one global instance is not possible because * multiple independent opendir/readdir sequences must be supported. */ dirent ent; - WIN32_FIND_DATA fd; + WIN32_FIND_DATAW fd; /* since opendir calls FindFirstFile, we need a means of telling the * first call to readdir that we already have a file. * that's the case iff this is true */