summaryrefslogtreecommitdiff
path: root/src/sysdep.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/sysdep.h')
-rw-r--r--src/sysdep.h13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/sysdep.h b/src/sysdep.h
index f94e698..8da7611 100644
--- a/src/sysdep.h
+++ b/src/sysdep.h
@@ -68,9 +68,6 @@ as that of the covered work. */
#ifdef NAMESPACE_TWEAKS
-/* Request the "Unix 98 compilation environment". */
-#define _XOPEN_SOURCE 500
-
#endif /* NAMESPACE_TWEAKS */
@@ -146,16 +143,6 @@ int snprintf (char *str, size_t count, const char *fmt, ...);
int vsnprintf (char *str, size_t count, const char *fmt, va_list arg);
#endif
-/* Some systems (Linux libc5, "NCR MP-RAS 3.0", and others) don't
- provide MAP_FAILED, a symbolic constant for the value returned by
- mmap() when it doesn't work. Usually, this constant should be -1.
- This only makes sense for files that use mmap() and include
- sys/mman.h *before* sysdep.h, but doesn't hurt others. */
-
-#ifndef MAP_FAILED
-# define MAP_FAILED ((void *) -1)
-#endif
-
/* Enable system fnmatch only on systems where fnmatch.h is usable.
If the fnmatch on your system is buggy, undef this symbol and a
replacement implementation will be used instead. */