summaryrefslogtreecommitdiff
path: root/src/fios.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/fios.h')
-rw-r--r--src/fios.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/fios.h b/src/fios.h
index bb119cc88..b1d923090 100644
--- a/src/fios.h
+++ b/src/fios.h
@@ -59,7 +59,7 @@ int CDECL compare_FiosItems(const void *a, const void *b);
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 @@ struct DIR {
* 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