Skip to content

Commit 97d4351

Browse files
dschoGit for Windows Build Agent
authored andcommitted
fixup??? mingw: make the dirent implementation pluggable
Header refactoring actually changed the order in which the headers are `#include`d, making it impossible to use `FLEX_ARRAY` here anymore. ꉂ (´∀`)ʱªʱªʱª Signed-off-by: Johannes Schindelin <[email protected]>
1 parent 55e4ccb commit 97d4351

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compat/win32/dirent.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
struct dirent {
1010
unsigned char d_type; /* file type to prevent lstat after readdir */
11-
char d_name[FLEX_ARRAY]; /* file name */
11+
char d_name[/* FLEX_ARRAY */]; /* file name */
1212
};
1313

1414
/*

0 commit comments

Comments
 (0)