diff options
author | Adam Borowski <kilobyte@angband.pl> | 2013-06-30 11:21:38 +0200 |
---|---|---|
committer | Adam Borowski <kilobyte@angband.pl> | 2013-07-02 00:56:25 +0200 |
commit | 5fbfbfd9c968d1073163b1dd2cb9a148ab357e7f (patch) | |
tree | 6473bf6fc92bd27bc41da8e66d154c41c4d518fe /crawl-ref/source/syscalls.cc | |
parent | ace084bbeda06a9782adb372daf7bf1730665c47 (diff) | |
download | crawl-ref-5fbfbfd9c968d1073163b1dd2cb9a148ab357e7f.tar.gz crawl-ref-5fbfbfd9c968d1073163b1dd2cb9a148ab357e7f.zip |
Don't include MSVC dirent emulation.
We don't actually use it. Two of contribs, pcre and sdl, reference it from
their autoconfage, so I'm not sure if it's optional or mandatory, and can't
check myself -- not deleting it yet. In any case, even a cursory look shows
at least two bugs, but I can't think of a case we could call this code,
even not directly.
Diffstat (limited to 'crawl-ref/source/syscalls.cc')
-rw-r--r-- | crawl-ref/source/syscalls.cc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/crawl-ref/source/syscalls.cc b/crawl-ref/source/syscalls.cc index 6057d8bca4..292f53896a 100644 --- a/crawl-ref/source/syscalls.cc +++ b/crawl-ref/source/syscalls.cc @@ -4,7 +4,6 @@ **/ #include "AppHdr.h" -#include <dirent.h> #ifdef TARGET_OS_WINDOWS # ifdef TARGET_COMPILER_VC @@ -15,10 +14,11 @@ # include <wincrypt.h> # include <io.h> #else -#include <unistd.h> -#include <fcntl.h> -#include <sys/types.h> -#include <sys/stat.h> +# include <dirent.h> +# include <unistd.h> +# include <fcntl.h> +# include <sys/types.h> +# include <sys/stat.h> #endif #include "files.h" |