diff options
Diffstat (limited to 'source/blender/blenlib/intern/winstuff_dir.c')
-rw-r--r-- | source/blender/blenlib/intern/winstuff_dir.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/source/blender/blenlib/intern/winstuff_dir.c b/source/blender/blenlib/intern/winstuff_dir.c index b20da9ce959..30247f2feb0 100644 --- a/source/blender/blenlib/intern/winstuff_dir.c +++ b/source/blender/blenlib/intern/winstuff_dir.c @@ -44,6 +44,19 @@ #include "BLI_utildefines.h" #include "utfconv.h" +/* keep local to this file */ +struct __dirstream { + HANDLE handle; + WIN32_FIND_DATAW data; + char path[MAX_PATH]; + long dd_loc; + long dd_size; + char dd_buf[4096]; + void *dd_direct; + + struct dirent direntry; +}; + /* Note: MinGW (FREE_WINDOWS) has opendir() and _wopendir(), and only the * latter accepts a path name of wchar_t type. Rather than messing up with * extra #ifdef's here and there, Blender's own implementations of opendir() |