diff options
author | Roland McGrath <roland@gnu.org> | 2002-09-24 06:26:28 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 2002-09-24 06:26:28 +0000 |
commit | 58e5204270473c320d77da5d327a671ba06048ae (patch) | |
tree | e559cc95e250268f0bb7a0311b4f1e7c0ad7ee91 /posix/unistd.h | |
parent | 3aea2d44f6be7ae3ff5766d7d3718926576508bb (diff) | |
download | glibc-58e5204270473c320d77da5d327a671ba06048ae.tar.gz glibc-58e5204270473c320d77da5d327a671ba06048ae.tar.xz glibc-58e5204270473c320d77da5d327a671ba06048ae.zip |
2002-09-23 Roland McGrath <roland@redhat.com>
* posix/unistd.h: Test [__USE_UNIX98] instead of [__USE_OPEN2K] for gethostname declaration.
Diffstat (limited to 'posix/unistd.h')
-rw-r--r-- | posix/unistd.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/posix/unistd.h b/posix/unistd.h index 8338ff29c8..792c80af33 100644 --- a/posix/unistd.h +++ b/posix/unistd.h @@ -1,4 +1,4 @@ -/* Copyright (C) 1991-1999, 2000, 2001 Free Software Foundation, Inc. +/* Copyright (C) 1991-1999, 2000, 2001, 2002 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 @@ -727,7 +727,7 @@ extern int setlogin (__const char *__name) __THROW; #endif -#if defined __USE_BSD || defined __USE_XOPEN2K +#if defined __USE_BSD || defined __USE_UNIX98 /* Put the name of the current host in no more than LEN bytes of NAME. The result is null-terminated if LEN is large enough for the full name and the terminator. */ |