(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:
@@ -24,13 +24,8 @@
|
||||
#include "industry.h"
|
||||
#include "helpers.hpp"
|
||||
|
||||
#ifdef WIN32
|
||||
/* for opendir/readdir/closedir */
|
||||
# include "fios.h"
|
||||
#else
|
||||
# include <sys/types.h>
|
||||
# include <dirent.h>
|
||||
#endif /* WIN32 */
|
||||
|
||||
char _userstring[128];
|
||||
|
||||
|
Reference in New Issue
Block a user