forked from mirror/OpenTTD
(svn r8823) -Fix (r8821): wrapping opendir to ottd-specific function failed on non-windows because this wrapper was only active for win32 (thx Rubidium)
This commit is contained in:
@@ -16,14 +16,10 @@
|
||||
|
||||
#include "fileio.h"
|
||||
#include "fios.h"
|
||||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
|
||||
#ifdef WIN32
|
||||
# include <io.h>
|
||||
#else
|
||||
# include <unistd.h>
|
||||
# include <dirent.h>
|
||||
#endif /* WIN32 */
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user