src/fios.h
changeset 6251 2ad87f850eb9
parent 6248 e4a2ed7e5613
child 7805 7ab20f94cc80
--- a/src/fios.h	Wed Mar 07 17:42:09 2007 +0000
+++ b/src/fios.h	Wed Mar 07 18:58:28 2007 +0000
@@ -59,7 +59,7 @@
 struct DIR;
 
 struct dirent { // XXX - only d_name implemented
-	wchar_t *d_name; // name of found file
+	TCHAR *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) */
@@ -72,14 +72,14 @@
 	 * note: having only one global instance is not possible because
 	 * multiple independent opendir/readdir sequences must be supported. */
 	dirent ent;
-	WIN32_FIND_DATAW fd;
+	WIN32_FIND_DATA 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 */
 	bool at_first_entry;
 };
 
-DIR *opendir(const wchar_t *path);
+DIR *opendir(const TCHAR *path);
 struct dirent *readdir(DIR *d);
 int closedir(DIR *d);
 #else