From 916687a6c8e0d3c00406c08a3a581998e05d88c3 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Wed, 16 Dec 1998 10:14:00 +0000 Subject: 1998-12-16 Roland McGrath * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Define this #ifdef __USE_BSD as well as #ifdef __USE_GNU, so MAXSYMLINKS can use it. Reported by UCHIYAMA Yasushi --- sysdeps/mach/hurd/bits/local_lim.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/sysdeps/mach/hurd/bits/local_lim.h b/sysdeps/mach/hurd/bits/local_lim.h index e26aa248cb..03d0756b61 100644 --- a/sysdeps/mach/hurd/bits/local_lim.h +++ b/sysdeps/mach/hurd/bits/local_lim.h @@ -1,5 +1,5 @@ /* Minimum guaranteed maximum values for system limits. Hurd version. - Copyright (C) 1993, 1994, 1996 Free Software Foundation, Inc. + Copyright (C) 1993, 94, 96, 98 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 @@ -32,8 +32,10 @@ /* The maximum number of symbolic links that are allowed in a single file name resolution. When a further link is encountered, the call returns ELOOP. This name is a GNU extension; POSIX.1 has no such limit, and BSD - calls it MAXSYMLINKS in . */ + calls it MAXSYMLINKS in . (We define the name under + _BSD_SOURCE even without _GNU_SOURCE because our uses it + to define MAXSYMLINKS.) */ -#ifdef __USE_GNU /* 1003.1a defines this */ +#if defined __USE_GNU || defined __USE_BSD /* 1003.1a defines this */ #define SYMLOOP_MAX 8 #endif -- cgit v1.2.3