summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorVincent Sanders <vince@netsurf-browser.org>2010-09-11 18:47:36 +0000
committerVincent Sanders <vince@netsurf-browser.org>2010-09-11 18:47:36 +0000
commitfaca1687ceac7c07daf5478071361fe98aa4cafe (patch)
treec576e41756deed0ae9a1d75aa08e9c3fd0ae61c2 /utils
parent4cbb19f2184bc69c408bfffd32b70390f634314c (diff)
downloadnetsurf-faca1687ceac7c07daf5478071361fe98aa4cafe.tar.gz
netsurf-faca1687ceac7c07daf5478071361fe98aa4cafe.tar.bz2
hell with it, heres a version which should result in fewer portability complaints
svn path=/trunk/netsurf/; revision=10756
Diffstat (limited to 'utils')
-rw-r--r--utils/config.h15
1 files changed, 0 insertions, 15 deletions
diff --git a/utils/config.h b/utils/config.h
index 92d0e64b9..adf2db103 100644
--- a/utils/config.h
+++ b/utils/config.h
@@ -38,21 +38,6 @@ char *strndup(const char *s, size_t n);
char *strcasestr(const char *haystack, const char *needle);
#endif
-/* fdopendir is actually present on most unix systems but unless
- * _POSIX_C_SOURCE is set to 2008 it is not declared in the system
- * headers. It is unavailable on RISC OS which requires fallback code
- */
-#if (_POSIX_C_SOURCE - 0) >= 200809L
-#define HAVE_FDOPENDIR
-#else
-#if defined(riscos) || defined(__amigaos4__)
-#undef HAVE_FDOPENDIR
-#else
-#define HAVE_FDOPENDIR
-DIR *fdopendir(int fd);
-#endif
-#endif
-
/* For some reason, UnixLib defines this unconditionally.
* Assume we're using UnixLib if building for RISC OS. */
#if (defined(_GNU_SOURCE) || defined(riscos))