about summary refs log tree commit diff
path: root/posix/unistd.h
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2006-08-24 06:48:22 +0000
committerUlrich Drepper <drepper@redhat.com>2006-08-24 06:48:22 +0000
commitaa2c6b6df52d86f1a2f3d2b7c91be720192e2290 (patch)
tree61f1c546f0fed05c2d70fc6c0c1ce6085bf3dff0 /posix/unistd.h
parentba408f846541f7279ef12858545abac1c26719e7 (diff)
downloadglibc-aa2c6b6df52d86f1a2f3d2b7c91be720192e2290.tar.gz
glibc-aa2c6b6df52d86f1a2f3d2b7c91be720192e2290.tar.xz
glibc-aa2c6b6df52d86f1a2f3d2b7c91be720192e2290.zip
* posix/unistd.h (getlogin_r): Condition on __USE_POSIX199506, not
	__USE_UNIX98.
	* posix/bits/unistd.h: Likewise.
Diffstat (limited to 'posix/unistd.h')
-rw-r--r--posix/unistd.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/posix/unistd.h b/posix/unistd.h
index c7a52722ca..b751928b1e 100644
--- a/posix/unistd.h
+++ b/posix/unistd.h
@@ -811,7 +811,7 @@ extern int tcsetpgrp (int __fd, __pid_t __pgrp_id) __THROW;
    This function is a possible cancellation points and therefore not
    marked with __THROW.  */
 extern char *getlogin (void);
-#if defined __USE_REENTRANT || defined __USE_UNIX98
+#if defined __USE_REENTRANT || defined __USE_POSIX199506
 /* Return at most NAME_LEN characters of the login name of the user in NAME.
    If it cannot be determined or some other error occurred, return the error
    code.  Otherwise return 0.