Fallback readdir_r().

git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1737 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
meep-eep
2005-05-11 10:33:55 +00:00
parent 33752ac2e8
commit 4d4f59e614
2 changed files with 36 additions and 0 deletions
+5
View File
@@ -19,6 +19,11 @@
char *strupr (char *str);
#endif
#ifndef HAVE_READDIR_R
# include <dirent.h>
int readdir_r(DIR *dirp, struct dirent *entry, struct dirent **result);
#endif
// Compilation related
#ifdef _MSC_VER