summaryrefslogtreecommitdiff
path: root/src/strings.cpp
diff options
context:
space:
mode:
authorDarkvater <darkvater@openttd.org>2007-02-20 09:46:10 +0000
committerDarkvater <darkvater@openttd.org>2007-02-20 09:46:10 +0000
commit6d2548122124e93cf1e5493dade4d79c874809a0 (patch)
tree4a6e386bcc81a0d19f80cbdff746167d94b1498f /src/strings.cpp
parent41d526415c0d959daa2b804ffd40b667eb011394 (diff)
downloadopenttd-6d2548122124e93cf1e5493dade4d79c874809a0.tar.xz
(svn r8823) -Fix (r8821): wrapping opendir to ottd-specific function failed on non-windows because this wrapper was only active for win32 (thx Rubidium)
Diffstat (limited to 'src/strings.cpp')
-rw-r--r--src/strings.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/strings.cpp b/src/strings.cpp
index d1ab5df0c..3c344239c 100644
--- a/src/strings.cpp
+++ b/src/strings.cpp
@@ -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];