diff options
author | DongHun Kwak <dh0128.kwak@samsung.com> | 2021-03-05 10:08:17 +0900 |
---|---|---|
committer | DongHun Kwak <dh0128.kwak@samsung.com> | 2021-03-05 10:08:17 +0900 |
commit | 6403e0986cb5d0b8b4cbea66f8f3ff7a68cb4c20 (patch) | |
tree | 4936775a0caecb157d619aa6c8f26310c2611c7e /src/sysdep.h | |
parent | 0fd98397eab07f1ec3b1fad9890fd751298e1fe0 (diff) | |
download | wget-6403e0986cb5d0b8b4cbea66f8f3ff7a68cb4c20.tar.gz wget-6403e0986cb5d0b8b4cbea66f8f3ff7a68cb4c20.tar.bz2 wget-6403e0986cb5d0b8b4cbea66f8f3ff7a68cb4c20.zip |
Imported Upstream version 1.18upstream/1.18
Diffstat (limited to 'src/sysdep.h')
-rw-r--r-- | src/sysdep.h | 13 |
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. */ |