summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2013-11-11 11:38:48 +0000
committerMichael Drake <tlsa@netsurf-browser.org>2013-11-11 11:38:48 +0000
commit7a920ace39937b7bc665ec7e3b716e6353467b00 (patch)
tree73e9b82e2ce7e649b5acc4a86db5d292124d5203 /utils
parent74d430f44ac949a8832ebeaa535d9321dc3f9456 (diff)
downloadnetsurf-7a920ace39937b7bc665ec7e3b716e6353467b00.tar.gz
netsurf-7a920ace39937b7bc665ec7e3b716e6353467b00.tar.bz2
Marginally cleaner handling of scandir absence.
Diffstat (limited to 'utils')
-rw-r--r--utils/config.h5
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.
*