mirror of
git://sourceware.org/git/glibc.git
synced 2025-02-23 13:09:58 +08:00
Actually undefine ARG_MAX from <linux/limits.h>
This commit is contained in:
parent
f87dfb1f11
commit
9572119174
@ -1,3 +1,9 @@
|
|||||||
|
2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
|
||||||
|
|
||||||
|
* sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
|
||||||
|
where #ifdef was intended. The intent is to prevent ARG_MAX from
|
||||||
|
being defined by the kernel headers.
|
||||||
|
|
||||||
2011-05-07 Ulrich Drepper <drepper@gmail.com>
|
2011-05-07 Ulrich Drepper <drepper@gmail.com>
|
||||||
|
|
||||||
[BZ #12734]
|
[BZ #12734]
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
/* Copyright (C) 1995-1997,2000,2001,2003,2008 Free Software Foundation, Inc.
|
/* Copyright (C) 1995-1997,2000,2001,2003,2008,2011
|
||||||
|
Free Software Foundation, Inc.
|
||||||
This file is part of the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
|
|
||||||
The GNU C Library is free software; you can redistribute it and/or
|
The GNU C Library is free software; you can redistribute it and/or
|
||||||
@ -28,7 +29,7 @@
|
|||||||
#include <linux/param.h>
|
#include <linux/param.h>
|
||||||
|
|
||||||
/* The kernel headers defines ARG_MAX. The value is wrong, though. */
|
/* The kernel headers defines ARG_MAX. The value is wrong, though. */
|
||||||
#ifndef __undef_ARG_MAX
|
#ifdef __undef_ARG_MAX
|
||||||
# undef ARG_MAX
|
# undef ARG_MAX
|
||||||
# undef __undef_ARG_MAX
|
# undef __undef_ARG_MAX
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user