diff options
author | Michael Drake <tlsa@netsurf-browser.org> | 2013-11-11 11:38:48 +0000 |
---|---|---|
committer | Michael Drake <tlsa@netsurf-browser.org> | 2013-11-11 11:38:48 +0000 |
commit | 7a920ace39937b7bc665ec7e3b716e6353467b00 (patch) | |
tree | 73e9b82e2ce7e649b5acc4a86db5d292124d5203 /utils | |
parent | 74d430f44ac949a8832ebeaa535d9321dc3f9456 (diff) | |
download | netsurf-7a920ace39937b7bc665ec7e3b716e6353467b00.tar.gz netsurf-7a920ace39937b7bc665ec7e3b716e6353467b00.tar.bz2 |
Marginally cleaner handling of scandir absence.
Diffstat (limited to 'utils')
-rw-r--r-- | utils/config.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/utils/config.h b/utils/config.h index 1c1eef6c4..2503235b5 100644 --- a/utils/config.h +++ b/utils/config.h @@ -95,6 +95,11 @@ char *realpath(const char *path, char *resolved_path); #undef HAVE_MMAP #endif +#define HAVE_SCANDIR +#if (defined(_WIN32)) +#undef HAVE_SCANDIR +#endif + /* This section toggles build options on and off. * Simply undefine a symbol to turn the relevant feature off. * |