Skip to content

Commit

Permalink
Fix missing define causing unnecessary stat() on Windows
Browse files Browse the repository at this point in the history
(cherry picked from commit c38e93f)
  • Loading branch information
qris committed Jan 15, 2018
1 parent 36f0586 commit 3785800
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/win32/emu.h
Original file line number Diff line number Diff line change
Expand Up @@ -242,6 +242,8 @@ struct dirent
DWORD win_attrs; // WIN32_FIND_DATA.dwFileAttributes
};

#define HAVE_VALID_DIRENT_D_TYPE 1

struct DIR
{
HANDLE fd; // the HANDLE returned by FindFirstFile
Expand Down

0 comments on commit 3785800

Please sign in to comment.