Skip to content

Commit

Permalink
Fix windows build after readdir_r() removal
Browse files Browse the repository at this point in the history
  • Loading branch information
pstorz committed Apr 27, 2017
1 parent aebf24d commit d554b45
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/win32/compat/include/compat.h
Expand Up @@ -426,4 +426,10 @@ bool win32_restore_file_attributes(POOLMEM *ofname,

#define HAVE_VA_COPY 1

/*
* use readdir_r on windows as the compat layer has
* an emulation for this call
*/
#define USE_READDIR_R

#endif /* __COMPAT_H_ */

0 comments on commit d554b45

Please sign in to comment.