diff options
| author | Ulrich Drepper <drepper@redhat.com> | 2008-03-27 15:19:41 +0000 |
|---|---|---|
| committer | Ulrich Drepper <drepper@redhat.com> | 2008-03-27 15:19:41 +0000 |
| commit | 595cb734b2d4daba98ce8d092b98a04fa944e447 (patch) | |
| tree | 17d986b3c9dd142925e0ba0fa20c1a702393085c | |
| parent | af7eda0ff6ca16406e8caab1ba2e97d03afc425e (diff) | |
| download | glibc-595cb734b2d4daba98ce8d092b98a04fa944e447.tar.xz glibc-595cb734b2d4daba98ce8d092b98a04fa944e447.zip | |
Undefined ARG_MAX if <linux/limits.h> has defined it.
| -rw-r--r-- | sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h b/sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h index 9b27b1ff48..a7c9740a0a 100644 --- a/sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h +++ b/sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h @@ -1,5 +1,5 @@ /* Minimum guaranteed maximum values for system limits. Linux/Alpha version. - Copyright (C) 1993-1998,2000,2002,2003,2004 Free Software Foundation, Inc. + Copyright (C) 1993-1998,2000,2002-2004,2008 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -31,6 +31,9 @@ #ifndef OPEN_MAX # define __undef_OPEN_MAX #endif +#ifndef ARG_MAX +# define __undef_ARG_MAX +#endif /* The kernel sources contain a file with all the needed information. */ #include <linux/limits.h> @@ -50,6 +53,11 @@ # undef OPEN_MAX # undef __undef_OPEN_MAX #endif +/* Have to remove ARG_MAX? */ +#ifdef __undef_ARG_MAX +# undef ARG_MAX +# undef __undef_ARG_MAX +#endif /* The number of data keys per process. */ #define _POSIX_THREAD_KEYS_MAX 128 |
