Drop workaround for pre-glibc linux
It seems unlikely anyone still needs to build against libc4/libc5. Reviewed-by: Adam Jackson <ajax@redhat.com> Signed-off-by: Julien Cristau <jcristau@debian.org>
This commit is contained in:
parent
3182570295
commit
6634ffc4d2
|
@ -40,13 +40,6 @@
|
||||||
|
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#ifdef HAS_SHM
|
#ifdef HAS_SHM
|
||||||
#if defined(linux) && (!defined(__GNU_LIBRARY__) || __GNU_LIBRARY__ < 2)
|
|
||||||
/* libc4 does not define __GNU_LIBRARY__, libc5 defines __GNU_LIBRARY__ as 1 */
|
|
||||||
/* Linux libc4 and libc5 only (because glibc doesn't include kernel headers):
|
|
||||||
Linux 2.0.x and 2.2.x define SHMLBA as PAGE_SIZE, but forget to define
|
|
||||||
PAGE_SIZE. It is defined in <asm/page.h>. */
|
|
||||||
#include <asm/page.h>
|
|
||||||
#endif
|
|
||||||
#ifdef SVR4
|
#ifdef SVR4
|
||||||
#include <sys/sysmacros.h>
|
#include <sys/sysmacros.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue